WcfActorRemotingProviderAttribute.CreateServiceRemotingClientFactory Method

Definition

Overloads

CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient)

Creates a service remoting client factory to connect to the remoted actor interfaces.

CreateServiceRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Creates a V2 service remoting client factory to connect to the remoted actor interfaces.

CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient)

Creates a service remoting client factory to connect to the remoted actor interfaces.

public override Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory CreateServiceRemotingClientFactory (Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient callbackClient);
override this.CreateServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient -> Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory
Public Overrides Function CreateServiceRemotingClientFactory (callbackClient As IServiceRemotingCallbackClient) As IServiceRemotingClientFactory

Parameters

callbackClient
Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient

Client implementation where the callbacks should be dispatched.

Returns

Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory

A WcfActorRemotingClientFactory as Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory that can be used with ActorProxyFactory to generate actor proxy to talk to the actor over remoted actor interface.

Applies to

CreateServiceRemotingClientFactory(IServiceRemotingCallbackMessageHandler)

Creates a V2 service remoting client factory to connect to the remoted actor interfaces.

public override Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory CreateServiceRemotingClientFactory (Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler callbackMessageHandler);
override this.CreateServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingCallbackMessageHandler -> Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClientFactory
Public Overrides Function CreateServiceRemotingClientFactory (callbackMessageHandler As IServiceRemotingCallbackMessageHandler) As IServiceRemotingClientFactory

Parameters

callbackMessageHandler
IServiceRemotingCallbackMessageHandler

Client implementation where the callbacks should be dispatched.

Returns

A WcfActorRemotingClientFactory as IServiceRemotingClientFactory that can be used with ActorProxyFactory to generate actor proxy to talk to the actor over remoted actor interface.

Applies to