ServiceRemotingExtensions.CreateServiceRemotingReplicaListeners<TStatefulService> 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 stateful service implementation.
public static System.Collections.Generic.IEnumerable<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener> CreateServiceRemotingReplicaListeners<TStatefulService> (this TStatefulService serviceImplementation) where TStatefulService : Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase, Microsoft.ServiceFabric.Services.Remoting.IService;
static member CreateServiceRemotingReplicaListeners : 'StatefulService -> seq<Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener> (requires 'StatefulService :> Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase and 'StatefulService :> Microsoft.ServiceFabric.Services.Remoting.IService)
<Extension()>
Public Function CreateServiceRemotingReplicaListeners(Of TStatefulService As {StatefulServiceBase, IService}) (serviceImplementation As TStatefulService) As IEnumerable(Of ServiceReplicaListener)
Type Parameters
- TStatefulService
Type constraint on the service implementation. The service implementation must derive from StatefulServiceBase and implement one or more interfaces that derive from IService interface.
Parameters
- serviceImplementation
- TStatefulService
A stateful service implementation.
Returns
A IServiceRemotingListener communication listener that remotes the interfaces deriving from IService interface.
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla