DocumentClient.ExecuteTransientProcedureAsync<TValue> Method

Executes a transient stored procedure against a collection as an asynchronous operation.

Namespace:  Microsoft.Azure.Documents.Client
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

public Task<StoredProcedureResponse<TValue>> ExecuteTransientProcedureAsync<TValue>(
	string documentCollectionLink,
	Stream procedure
)

Type Parameters

TValue

The return value type of the stored procedure.

Parameters

documentCollectionLink
Type: System.String
The self-link to the collection.
procedure
Type: System.IO.Stream
The stream containing the content of the stored procedure.

Return Value

Type: System.Threading.Tasks.Task<StoredProcedureResponse<TValue>>
The task object representing the service response for the asynchronous operation.
Show: