Share via


IProgram.SendStopOperationAsync Method

[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 stop 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
Function SendStopOperationAsync As Task(Of IOperation)
'Usage
Dim instance As IProgram 
Dim returnValue As Task(Of IOperation)

returnValue = instance.SendStopOperationAsync()
Task<IOperation> SendStopOperationAsync()
Task<IOperation^>^ SendStopOperationAsync()
abstract SendStopOperationAsync : unit -> Task<IOperation> 
function SendStopOperationAsync() : Task<IOperation>

Return Value

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

See Also

Reference

IProgram Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace