IInputSessionShutdown Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines the contract that must be implemented to shut down an input session.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public interface IInputSessionShutdown

NameDescription
System_CAPS_pubmethodChannelFaulted(IDuplexContextChannel)

Indicates that the channel has faulted.

System_CAPS_pubmethodDoneReceiving(IDuplexContextChannel)

Indicates when the client channel is done receiving messages as part of the duplex message exchange.

Use the IInputSessionShutdown interface inside a duplex session to send outbound messages prior to closing the session. For example, if a client closes a session the service can implement DoneReceiving to be notified prior to the shutdown, enabling the service to send one notification message prior to returning. The client receives the notification prior to the acknowledgment that the client can close the channel.

.NET Framework
Available since 3.0
Return to top
Show: