-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
HostCurrentTransactionCallback.xml
57 lines (55 loc) · 3.88 KB
/
HostCurrentTransactionCallback.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
<Type Name="HostCurrentTransactionCallback" FullName="System.Transactions.HostCurrentTransactionCallback">
<TypeSignature Language="C#" Value="public delegate System.Transactions.Transaction? HostCurrentTransactionCallback();" FrameworkAlternate="net-5.0;net-6.0;net-7.0;net-8.0;net-9.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed HostCurrentTransactionCallback extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Transactions.HostCurrentTransactionCallback" />
<TypeSignature Language="VB.NET" Value="Public Delegate Function HostCurrentTransactionCallback() As Transaction " />
<TypeSignature Language="F#" Value="type HostCurrentTransactionCallback = delegate of unit -> Transaction" />
<TypeSignature Language="C++ CLI" Value="public delegate System::Transactions::Transaction ^ HostCurrentTransactionCallback();" />
<TypeSignature Language="C#" Value="public delegate System.Transactions.Transaction HostCurrentTransactionCallback();" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;netstandard-2.0;netstandard-2.1" />
<AssemblyInfo>
<AssemblyName>System.Transactions</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Transactions.Local</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeForwardingChain>
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Transactions.Local" ToVersion="5.0.0.0" FrameworkAlternate="net-5.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Transactions.Local" ToVersion="6.0.0.0" FrameworkAlternate="net-6.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Transactions.Local" ToVersion="7.0.0.0" FrameworkAlternate="net-7.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Transactions.Local" ToVersion="8.0.0.0" FrameworkAlternate="net-8.0" />
<TypeForwarding From="netstandard" FromVersion="2.1.0.0" To="System.Transactions.Local" ToVersion="9.0.0.0" FrameworkAlternate="net-9.0" />
</TypeForwardingChain>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters />
<ReturnValue>
<ReturnType>System.Transactions.Transaction</ReturnType>
</ReturnValue>
<Docs>
<summary>Provides a mechanism for the hosting environment to supply its own default notion of <see cref="P:System.Transactions.Transaction.Current" />.</summary>
<returns>A <see cref="T:System.Transactions.Transaction" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This delegate provides a mechanism for a hosting environment to supply its own default notion of <xref:System.Transactions.Transaction.Current%2A>. It is called when <xref:System.Transactions.Transaction.Current%2A> is `null`, and there is no current <xref:System.Transactions.TransactionScope> that indicates that the ambient transaction may have been suppressed.
]]></format>
</remarks>
</Docs>
</Type>