ICommunicationListener Interface
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.
Defines the base interface and the state machine contract for the communication listener for a Service Fabric Service.
public interface ICommunicationListener
type ICommunicationListener = interface
Public Interface ICommunicationListener
- Derived
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. |
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. |
OpenAsync(CancellationToken) |
This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages. |
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk