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

ActorProxyFactory 构造函数

定义

重载

ActorProxyFactory(OperationRetrySettings)

初始化 ActorProxyFactory 类的新实例。

ActorProxyFactory(Func<IServiceRemotingCallbackMessageHandler,IServiceRemotingClientFactory>, OperationRetrySettings)

使用 V2 远程处理客户端工厂初始化 类的新实例 ActorProxyFactory

ActorProxyFactory(OperationRetrySettings)

初始化 ActorProxyFactory 类的新实例。

public ActorProxyFactory(Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings retrySettings = default);
new Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory : Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings -> Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory
Public Sub New (Optional retrySettings As OperationRetrySettings = Nothing)

参数

retrySettings
OperationRetrySettings

针对代理进行的远程对象调用的重试设置。

适用于

ActorProxyFactory(Func<IServiceRemotingCallbackMessageHandler,IServiceRemotingClientFactory>, OperationRetrySettings)

使用 V2 远程处理客户端工厂初始化 类的新实例 ActorProxyFactory

public ActorProxyFactory(Func<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler,Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory> createServiceRemotingClientFactory, Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings retrySettings = default);
new Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory : Func<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler, Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory> * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings -> Microsoft.ServiceFabric.Actors.Client.ActorProxyFactory
Public Sub New (createServiceRemotingClientFactory As Func(Of IServiceRemotingCallbackMessageHandler, IServiceRemotingClientFactory), Optional retrySettings As OperationRetrySettings = Nothing)

参数

createServiceRemotingClientFactory
Func<IServiceRemotingCallbackMessageHandler,IServiceRemotingClientFactory>

用于创建远程处理通信客户端工厂的工厂方法。

retrySettings
OperationRetrySettings

针对代理进行的远程对象调用的重试设置。

适用于