共用方式為


IServiceRemotingListener Interface

Definition

Defines a base communication interface that enables interface remoting for stateless and stateful services.

public interface IServiceRemotingListener : Microsoft.ServiceFabric.Services.Communication.Runtime.ICommunicationListener
type IServiceRemotingListener = interface
    interface ICommunicationListener
Public Interface IServiceRemotingListener
Implements ICommunicationListener
Derived
Implements

Methods

Abort()

This method causes the communication listener to close. Close is a terminal state and this method causes the transition to close ungracefully. Any outstanding operations (including close) should be canceled when this method is called.

(Inherited from ICommunicationListener)
CloseAsync(CancellationToken)

This method causes the communication listener to close. Close is a terminal state and this method allows the communication listener to transition to this state in a graceful manner.

(Inherited from ICommunicationListener)
OpenAsync(CancellationToken)

This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages.

(Inherited from ICommunicationListener)

Applies to