FabricRuntime.CreateAsync 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.
Overloads
CreateAsync(TimeSpan, CancellationToken)
public static System.Threading.Tasks.Task<System.Fabric.FabricRuntime> CreateAsync(TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
static member CreateAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.FabricRuntime>
Public Shared Function CreateAsync (timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of FabricRuntime)
Parameters
- timeout
- System.TimeSpan
- cancellationToken
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<FabricRuntime>
Applies to
CreateAsync(Action, TimeSpan, CancellationToken)
public static System.Threading.Tasks.Task<System.Fabric.FabricRuntime> CreateAsync(Action fabricExitCallback, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
static member CreateAsync : Action * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.FabricRuntime>
Public Shared Function CreateAsync (fabricExitCallback As Action, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of FabricRuntime)
Parameters
- fabricExitCallback
- System.Action
- timeout
- System.TimeSpan
- cancellationToken
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<FabricRuntime>