-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
MachineSettingsSection.xml
129 lines (115 loc) · 7.29 KB
/
MachineSettingsSection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<Type Name="MachineSettingsSection" FullName="System.Transactions.Configuration.MachineSettingsSection">
<TypeSignature Language="C#" Value="public sealed class MachineSettingsSection : System.Configuration.ConfigurationSection" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit MachineSettingsSection extends System.Configuration.ConfigurationSection" />
<TypeSignature Language="DocId" Value="T:System.Transactions.Configuration.MachineSettingsSection" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class MachineSettingsSection
Inherits ConfigurationSection" />
<TypeSignature Language="F#" Value="type MachineSettingsSection = class
 inherit ConfigurationSection" />
<TypeSignature Language="C++ CLI" Value="public ref class MachineSettingsSection sealed : System::Configuration::ConfigurationSection" />
<AssemblyInfo>
<AssemblyName>System.Transactions</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Configuration.ConfigurationSection</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents an XML section in a configuration file encapsulating all settings that can be modified only at the machine level. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Property values of this class can only be set in the machine.config file.
## Examples
An example configuration file used by your transaction application can be as follows,
`<configuration>`
`<system.transactions>`
`<defaultSettings distributedTransactionManagerName="F04M25" timeout="02:00:00"/>`
`<machineSettings maxTimeout="02:00:00"/>`
`</system.transactions>`
`</configuration>`
This example specifies the default values of a transaction. Specifically, it sets the computer name of the Distributed Transaction Coordinator (MSDTC) that is responsible for coordinating all distributed transactions started locally, and the default time after which a transaction times out. In addition, it specifies a setting that can only be modified at the machine level, which is the maximum amount of time allowed before a transaction times out.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MachineSettingsSection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Transactions.Configuration.MachineSettingsSection.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 MachineSettingsSection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Transactions</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Transactions.Configuration.MachineSettingsSection" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxTimeout">
<MemberSignature Language="C#" Value="public TimeSpan MaxTimeout { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.TimeSpan MaxTimeout" />
<MemberSignature Language="DocId" Value="P:System.Transactions.Configuration.MachineSettingsSection.MaxTimeout" />
<MemberSignature Language="VB.NET" Value="Public Property MaxTimeout As TimeSpan" />
<MemberSignature Language="F#" Value="member this.MaxTimeout : TimeSpan with get, set" Usage="System.Transactions.Configuration.MachineSettingsSection.MaxTimeout" />
<MemberSignature Language="C++ CLI" Value="public:
 property TimeSpan MaxTimeout { TimeSpan get(); void set(TimeSpan value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Transactions</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("maxTimeout", DefaultValue="00:10:00")]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("maxTimeout", DefaultValue="00:10:00")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.TimeSpan</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a maximum amount of time allowed before a transaction times out.</summary>
<value>A <see cref="T:System.TimeSpan" /> object that contains the maximum allowable time. The default value is 00:10:00.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property can only be set in the machine.config file. A value of 00:00:00 (or zero) is interpreted as infinity.
]]></format>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">An attempt to set this property to negative values.</exception>
</Docs>
</Member>
<Member MemberName="Properties">
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Configuration.ConfigurationPropertyCollection Properties" />
<MemberSignature Language="DocId" Value="P:System.Transactions.Configuration.MachineSettingsSection.Properties" />
<MemberSignature Language="VB.NET" Value="Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection" />
<MemberSignature Language="F#" Value="member this.Properties : System.Configuration.ConfigurationPropertyCollection" Usage="System.Transactions.Configuration.MachineSettingsSection.Properties" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property System::Configuration::ConfigurationPropertyCollection ^ Properties { System::Configuration::ConfigurationPropertyCollection ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Transactions</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the collection of properties.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>