MachineSettingsSection クラス
アセンブリ: System.Transactions (system.transactions.dll 内)



トランザクション アプリケーションが使用する構成ファイルの例を次に示します。
<defaultSettings distributedTransactionManagerName="F04M25" timeout="02:00:00"/>
<machineSettings maxTimeout="02:00:00"/>
</system.transactions>
</configuration>
この例は、トランザクションの既定値を指定します。具体的には、ローカルで開始されるすべての分散トランザクションを調整する役割を持つ分散トランザクション コーディネータ (MSDTC: Microsoft Distributed Transaction Coordinator) のコンピュータ名と、トランザクションがタイムアウトする既定の時間を設定します。また、マシン レベルでのみ変更できる設定 (トランザクションがタイムアウトするまでの最大許容時間) を指定します。

System.Configuration.ConfigurationElement
System.Configuration.ConfigurationSection
System.Transactions.Configuration.MachineSettingsSection


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- MachineSettingsSection クラスのページへのリンク