共用方式為


FabricRuntime.Create Method

Definition

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.

Applies to