Transaction.CommitAsync Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CommitAsync()
public System.Threading.Tasks.Task<long> CommitAsync();
	member this.CommitAsync : unit -> System.Threading.Tasks.Task<int64>
	Public Function CommitAsync () As Task(Of Long)
	Returns
		System.Threading.Tasks.Task<System.Int64>
		
	
	
  Applies to
CommitAsync(TimeSpan)
public System.Threading.Tasks.Task<long> CommitAsync(TimeSpan timeout);
	member this.CommitAsync : TimeSpan -> System.Threading.Tasks.Task<int64>
	Public Function CommitAsync (timeout As TimeSpan) As Task(Of Long)
	Parameters
- timeout
 - System.TimeSpan
 
Returns
		System.Threading.Tasks.Task<System.Int64>
		
	
	
  Applies to
CommitAsync(TimeSpan, CancellationToken)
Caution
Use CommitAsync() or CommitAsync(TimeSpan) overloads
[System.Obsolete("Use CommitAsync() or CommitAsync(TimeSpan) overloads")]
public System.Threading.Tasks.Task<long> CommitAsync(TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
	[<System.Obsolete("Use CommitAsync() or CommitAsync(TimeSpan) overloads")>]
member this.CommitAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int64>
	Public Function CommitAsync (timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of Long)
	Parameters
- timeout
 - System.TimeSpan
 
- cancellationToken
 - System.Threading.CancellationToken
 
Returns
		System.Threading.Tasks.Task<System.Int64>
		
	
	
	- Attributes
 - 
			System.ObsoleteAttribute