Compartir a través de


ServicePartitionResolutionChangeHandler Delegado

Definición

Tipo delegado para devoluciones de llamada del lado cliente que se realizan en el código de usuario cuando los puntos de conexión de un servicio cambian o se produce una excepción durante el proceso de actualización de la información del punto de conexión en tiempo de ejecución.

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)

Parámetros

source
FabricClient

Referencia a la FabricClient instancia que recibe el evento de cambio de punto de conexión.

handlerId
Int64

Identificador devuelto desde RegisterServicePartitionResolutionChangeHandler(Uri, ServicePartitionResolutionChangeHandler) el momento en que se registró el controlador.

args
ServicePartitionResolutionChange

Argumentos de evento que contienen detalles para el evento. .

Se aplica a