packages/Microsoft.NETFramework.ReferenceAssemblies.net45.1.0.2/build/.NETFramework/v4.5/System.Transactions.xml
(开头部分) 74KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Transactions</name>
</assembly>
<members>
<member name="T:System.Transactions.CommittableTransaction">
<summary>Describes a committable transaction.</summary>
</member>
<member name="M:System.Transactions.CommittableTransaction.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Transactions.CommittableTransaction" /> class. </summary>
<exception cref="T:System.PlatformNotSupportedException">An attempt to create a transaction under Windows 98, Windows 98 Second Edition or Windows Millennium Edition.</exception>
</member>
<member name="M:System.Transactions.CommittableTransaction.#ctor(System.TimeSpan)">
<summary>Initializes a new instance of the <see cref="T:System.Transactions.CommittableTransaction" /> class with the specified <paramref name="timeout" /> value.</summary>
<param name="timeout">The maximum amount of time the transaction can exist, before it is aborted.</param>
<exception cref="T:System.PlatformNotSupportedException">An attempt to create a transaction under Windows 98, Windows 98 Second Edition or Windows Millennium Edition.</exception>
</member>
<member name="M:System.Transactions.CommittableTransaction.#ctor(System.Transactions.TransactionOptions)">
<summary>Initializes a new instance of the <see cref="T:System.Transactions.CommittableTransaction" /> class with the specified transaction options.</summary>
<param name="options">A <see cref="T:System.Transactions.TransactionOptions" /> structure that describes the transaction options to use for the new transaction.</param>
<exception cref="T:System.PlatformNotSupportedException">An attempt to create a transaction under Windows 98, Windows 98 Second Edition or Windows Millennium Edition.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> is invalid.</exception>
</member>
<member name="M:System.Transactions.CommittableTransaction.BeginCommit(System.AsyncCallback,System.Object)">
<summary>Begins an attempt to commit the transaction asynchronously.</summary>
<returns>An <see cref="T:System.IAsyncResult" /> interface that can be used by the caller to check the status of the asynchronous operation, or to wait for the operation to complete.</returns>
<param name="asyncCallback">The <see cref="T:System.AsyncCallback" /> delegate that is invoked when the transaction completes. This parameter can be null, in which case the application is not notified of the transaction's completion. Instead, the application must use the <see cref="T:System.IAsyncResult" /> interface to check for completion and wait accordingly, or call <see cref="M:System.Transactions.CommittableTransaction.EndCommit(System.IAsyncResult)" /> to wait for completion.</param>
<param name="asyncState">An object, which might contain arbitrary state information, associated with the asynchronous commitment. This object is passed to the callback, and is not interpreted by <see cref="N:System.Transactions" />. A null reference is permitted.</param>
</member>
<member name="M:System.Transactions.CommittableTransaction.Commit">
<summary>Attempts to commit the transaction.</summary>
<exception cref="T:System.Transactions.TransactionInDoubtException">
<see cref="M:System.Transactions.CommittableTransaction.Commit" /> is called on a transaction and the transaction becomes <see cref="F:System.Transactions.TransactionStatus.InDoubt" />.</exception>
<exception cref="T:System.Transactions.TransactionAbortedException">
<see cref="M:System.Transactions.CommittableTransaction.Commit" /> is called and the transaction rolls back for the first time.</exception>
</member>
<member name="M:System.Transactions.CommittableTransaction.EndCommit(System.IAsyncResult)">
<summary>Ends an attempt to commit the transaction asynchronously.</summary>
<param name="asyncResult">The <see cref="T:System.IAsyncResult" /> object associated with the asynchronous commitment.</param>
<exception cref="T:System.Transactions.TransactionAbortedException">
<see cref="M:System.Transactions.CommittableTransaction.BeginCommit(System.AsyncCallback,System.Object)" /> is called and the transaction rolls back for the first time.</exception>
</member>
<member name="P:System.Transactions.CommittableTransaction.System#IAsyncResult#AsyncState">
<summary>Gets the object provided as the last parameter of the <see cref="M:System.Transactions.CommittableTransaction.BeginCommit(System.AsyncCallback,System.Object)" /> method call.</summary>
<returns>The object provided as the last parameter of the <see cref="M:System.Transactions.CommittableTransaction.BeginCommit(System.AsyncCallback,System.Object)" /> method call.</returns>
</member>
<member name="P:System.Transactions.CommittableTransaction.System#IAsyncResult#AsyncWaitHandle">
<summary>Gets a <see cref="T:System.Threading.WaitHandle" /> that is used to wait for an asynchronous operation to complete.</summary>
<returns>A <see cref="T:System.Threading.WaitHandle" /> that is used to wait for an asynchronous operation to complete.</returns>
</member>
<member name="P:System.Transactions.CommittableTransaction.System#IAsyncResult#CompletedSynchronously">
<summary>Gets an indication of whether the asynchronous commit operation completed synchronously. </summary>
<returns>true if the asynchronous commit operation completed synchronously; otherwise, false. This property always returns false even if the operation completed synchronously.</returns>
</member>
<member name="P:System.Transactions.CommittableTransaction.System#IAsyncResult#IsCompleted">
<summary>Gets an indication whether the asynchronous commit operation has completed.</summary>
<returns>true if the operation is complete; otherwise, false. </returns>
</member>
后面还有 711 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
