共用方式為


WcfServiceRemotingProviderAttribute.CreateServiceRemotingClientFactory Method

Definition

Creates a V1 service remoting client factory that can be used by the ServiceProxyFactory to create a proxy for the remoted interface of the service.

public override Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory CreateServiceRemotingClientFactory (Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient callbackClient);
abstract member CreateServiceRemotingClientFactory : Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient -> Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory
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 WcfServiceRemotingClientFactory.

Applies to