ServiceFabricCmdletBase.StartRequestAndWait<T> 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.
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>>>
Returns
T