你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServicePartitionResolutionChangeHandler 委托

定义

客户端回调的委托类型,在运行时更新终结点信息的过程中,服务终结点发生更改或遇到异常时,对用户代码进行回调。

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)

参数

source
FabricClient

FabricClient 接收终结点更改事件的实例的引用。

args
ServicePartitionResolutionChange

包含事件详细信息的事件参数。 .

适用于