Share via


WcfServiceRemotingProviderAttribute.CreateServiceRemotingListener Method

Definition

Creates a V1 service remoting listener for remoting the service interface.

public override Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener CreateServiceRemotingListener (System.Fabric.ServiceContext serviceContext, Microsoft.ServiceFabric.Services.Remoting.IService serviceImplementation);
abstract member CreateServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.IService -> Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener
override this.CreateServiceRemotingListener : System.Fabric.ServiceContext * Microsoft.ServiceFabric.Services.Remoting.IService -> Microsoft.ServiceFabric.Services.Remoting.Runtime.IServiceRemotingListener
Public Overrides Function CreateServiceRemotingListener (serviceContext As ServiceContext, serviceImplementation As IService) As IServiceRemotingListener

Parameters

serviceContext
ServiceContext

The context of the service for which the remoting listener is being constructed.

serviceImplementation
IService

The service implementation object.

Returns

A WcfServiceRemotingListener for the specified service.

Applies to