共用方式為


ServicePartitionResolver.GetDefault Method

Definition

Gets the default ServicePartitionResolver.

The default service partition resolver instance uses the local fabric client. If you are using the ServicePartitionResolver to resolve services that are running on a remote cluster, the recommended practice is to create a ServicePartitionResolver using the appropriate endpoints or FabricClient and then update the default ServicePartitionResolver.

public static Microsoft.ServiceFabric.Services.Client.ServicePartitionResolver GetDefault ();
static member GetDefault : unit -> Microsoft.ServiceFabric.Services.Client.ServicePartitionResolver
Public Shared Function GetDefault () As ServicePartitionResolver

Returns

Default ServicePartitionResolver

Applies to