Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IOutputChannel Interface
Collapse the table of content
Expand the table of content

IOutputChannel Interface

Defines the interface that a channel must implement to send a message.

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

public interface IOutputChannel : IChannel, 
	ICommunicationObject

The IOutputChannel type exposes the following members.

  NameDescription
Public propertySupported by Portable Class LibraryRemoteAddressGets the destination of the service to which messages are sent out on the output channel.
Public propertySupported by Portable Class LibraryStateGets the current state of the communication-oriented object. (Inherited from ICommunicationObject.)
Public propertySupported by Portable Class LibraryViaGets the URI that contains the transport address to which messages are sent on the output channel.
Top

  NameDescription
Public methodSupported by Portable Class LibraryAbortCauses a communication object to transition immediately from its current state into the closed state. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryBeginClose(AsyncCallback, Object)Begins an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryBeginClose(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to close a communication object with a specified timeout. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryBeginOpen(AsyncCallback, Object)Begins an asynchronous operation to open a communication object. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryBeginOpen(TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to open a communication object within a specified interval of time. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryBeginSend(Message, AsyncCallback, Object)Begins an asynchronous operation to transmit a message to the destination of the output channel.
Public methodSupported by Portable Class LibraryBeginSend(Message, TimeSpan, AsyncCallback, Object)Begins an asynchronous operation to transmit a message to the destination of the output channel within a specified interval of time.
Public methodSupported by Portable Class LibraryClose()Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryClose(TimeSpan)Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryEndCloseCompletes an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryEndOpenCompletes an asynchronous operation to open a communication object. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryEndSendCompletes an asynchronous operation to transmit a message to the destination of the output channel.
Public methodSupported by Portable Class LibraryGetProperty<T>Returns a typed object requested, if present, from the appropriate layer in the channel stack. (Inherited from IChannel.)
Public methodSupported by Portable Class LibraryOpen()Causes a communication object to transition from the created state into the opened state. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibraryOpen(TimeSpan)Causes a communication object to transition from the created state into the opened state within a specified interval of time. (Inherited from ICommunicationObject.)
Public methodSupported by Portable Class LibrarySend(Message)Transmits a message to the destination of the output channel.
Public methodSupported by Portable Class LibrarySend(Message, TimeSpan)Sends a message on the current output channel within a specified interval of time.
Top

  NameDescription
Public eventSupported by Portable Class LibraryClosedOccurs when the communication object completes its transition from the closing state into the closed state. (Inherited from ICommunicationObject.)
Public eventSupported by Portable Class LibraryClosingOccurs when the communication object first enters the closing state. (Inherited from ICommunicationObject.)
Public eventSupported by Portable Class LibraryFaultedOccurs when the communication object first enters the faulted state. (Inherited from ICommunicationObject.)
Public eventSupported by Portable Class LibraryOpenedOccurs when the communication object completes its transition from the opening state into the opened state. (Inherited from ICommunicationObject.)
Public eventSupported by Portable Class LibraryOpeningOccurs when the communication object first enters the opening state. (Inherited from ICommunicationObject.)
Top

The IOutputChannel interface defines synchronous and asynchronous variants of the Send operation. It provides a RemoteAddress for the destination of the messages sent out on the channel.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft