OriginBaseCollection.SendCreateOperationAsync Method (String, Int32)

[This topic is pre-release documentation and is subject to change in future releases. Participation in the preview is limited to invitees only. For more information, see the Release Notes.]

Sends create origin operation to the service asynchronously. Use Operations collection to get operation's status.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client.Live (in Microsoft.WindowsAzure.MediaServices.Client.Live.dll)

Syntax

'Declaration
Public Function SendCreateOperationAsync ( _
    name As String, _
    reservedUnits As Integer _
) As Task(Of IOperation)
'Usage
Dim instance As OriginBaseCollection 
Dim name As String 
Dim reservedUnits As Integer 
Dim returnValue As Task(Of IOperation)

returnValue = instance.SendCreateOperationAsync(name, _
    reservedUnits)
public Task<IOperation> SendCreateOperationAsync(
    string name,
    int reservedUnits
)
public:
Task<IOperation^>^ SendCreateOperationAsync(
    String^ name, 
    int reservedUnits
)
member SendCreateOperationAsync : 
        name:string * 
        reservedUnits:int -> Task<IOperation> 
public function SendCreateOperationAsync(
    name : String, 
    reservedUnits : int
) : Task<IOperation>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IOperation>
Task to wait on for operation sending completion.

See Also

Reference

OriginBaseCollection Class

SendCreateOperationAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace