FabricRuntime.Create 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
Create() |
Creates the FabricRuntime object. |
Create(Action) |
Creates the FabricRuntime object with a specified callback function which will be executed if the underlying runtime terminates or exits for any reason. |
Create()
Creates the FabricRuntime object.
public static System.Fabric.FabricRuntime Create ();
static member Create : unit -> System.Fabric.FabricRuntime
Public Shared Function Create () As FabricRuntime
Returns
A newly created FabricRuntime object.
Applies to
Create(Action)
Creates the FabricRuntime object with a specified callback function which will be executed if the underlying runtime terminates or exits for any reason.
public static System.Fabric.FabricRuntime Create (Action fabricExitCallback);
static member Create : Action -> System.Fabric.FabricRuntime
Public Shared Function Create (fabricExitCallback As Action) As FabricRuntime
Parameters
- fabricExitCallback
- Action
The Action to be executed when the runtime exits or terminates.
Returns
A newly created FabricRuntimeobject.