ServiceRemotingExtensions.CreateServiceRemotingInstanceListeners<TStatelessService> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An extension method that creates an IServiceRemotingListener for a stateless service implementation.
public static System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener> CreateServiceRemotingInstanceListeners<TStatelessService>(this TStatelessService serviceImplementation) where TStatelessService : Microsoft.ServiceFabric.Services.Runtime.StatelessService, Microsoft.ServiceFabric.Services.Remoting.IService;
static member CreateServiceRemotingInstanceListeners : 'StatelessService -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceInstanceListener> (requires 'StatelessService :> Microsoft.ServiceFabric.Services.Runtime.StatelessService and 'StatelessService :> Microsoft.ServiceFabric.Services.Remoting.IService)
<Extension()>
Public Function CreateServiceRemotingInstanceListeners(Of TStatelessService As {StatelessService, IService}) (serviceImplementation As TStatelessService) As IEnumerable(Of ServiceInstanceListener)
Type Parameters
- TStatelessService
Type constraint on the service implementation. The service implementation must derive from StatelessService and implement one or more interfaces that derive from IService interface.
Parameters
- serviceImplementation
- TStatelessService
A stateless service implementation.
Returns
A IServiceRemotingListener communication listener that remotes the interfaces deriving from IService interface.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET