Dela via


ServicePartitionResolutionChangeHandler Delegate

Definition

A delegate type for client-side callbacks that are made to user code when the endpoints of a service change or an exception is encountered during the process of updating endpoint information at runtime.

public delegate void ServicePartitionResolutionChangeHandler(FabricClient source, long handlerId, ServicePartitionResolutionChange args);
type ServicePartitionResolutionChangeHandler = delegate of FabricClient * int64 * ServicePartitionResolutionChange -> unit
Public Delegate Sub ServicePartitionResolutionChangeHandler(source As FabricClient, handlerId As Long, args As ServicePartitionResolutionChange)

Parameters

source
FabricClient

A reference to the FabricClient instance receiving the endpoint change event.

handlerId
Int64

The ID returned from RegisterServicePartitionResolutionChangeHandler(Uri, ServicePartitionResolutionChangeHandler) when the handler was registered.

args
ServicePartitionResolutionChange

Event arguments containing details for the event. .

Applies to