Aracılığıyla paylaş


ServiceFabricCmdletBase.StartRequestAndWait<T> Method

Definition

protected T StartRequestAndWait<T> (Func<System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<T>>> requestAction, Func<string> getResourceCurrentStatus) where T : class;
member this.StartRequestAndWait : Func<System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<'T>>> * Func<string> -> 'T (requires 'T : null)
Protected Function StartRequestAndWait(Of T As Class) (requestAction As Func(Of Task(Of AzureOperationResponse(Of T))), getResourceCurrentStatus As Func(Of String)) As T

Type Parameters

T

Parameters

requestAction
Func<Task<AzureOperationResponse<T>>>
getResourceCurrentStatus
Func<String>

Returns

T

Applies to