Share via


FabricTransportServiceRemotingProviderAttribute.CreateServiceRemotingClientFactoryV2 Method

Definition

Creates a V2 service remoting client factory for connecting to the service over remoted service interfaces.

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

Parameters

callbackMessageHandler
IServiceRemotingCallbackMessageHandler

The client implementation where the callbacks should be dispatched.

Returns

A FabricTransportServiceRemotingClientFactory as IServiceRemotingClientFactory that can be used with ServiceProxyFactory to generate service proxy to talk to a stateless or stateful service over remoted actor interface.

Applies to