IInputChannel Methods

IInputChannel Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The IInputChannel type exposes the following members.

  NameDescription
Public method Abort Causes a communication object to transition immediately from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method BeginClose(AsyncCallback, Object) Begins an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public method BeginClose(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to close a communication object with a specified time-out. (Inherited from ICommunicationObject.)
Public method BeginOpen(AsyncCallback, Object) Begins an asynchronous operation to open a communication object. (Inherited from ICommunicationObject.)
Public method BeginOpen(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to open a communication object within a specified interval of time. (Inherited from ICommunicationObject.)
Public method BeginReceive(AsyncCallback, Object) Begins an asynchronous operation to receive a message that has a state object associated with it.
Public method BeginReceive(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to receive a message that has a specified time out and state object associated with it.
Public method BeginTryReceive Begins an asynchronous operation to receive a message that has a specified time out and state object associated with it.
Public method BeginWaitForMessage Begins an asynchronous wait-for-a-message-to-arrive operation that has a specified time out and state object associated with it.
Public method Close Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method Close(TimeSpan) Causes a communication object to transition from its current state into the closed state. (Inherited from ICommunicationObject.)
Public method EndClose Completes an asynchronous operation to close a communication object. (Inherited from ICommunicationObject.)
Public method EndOpen Completes an asynchronous operation to open a communication object. (Inherited from ICommunicationObject.)
Public method EndReceive Completes an asynchronous operation to receive a message.
Public method EndTryReceive Completes the specified asynchronous operation to receive a message.
Public method EndWaitForMessage Completes the specified asynchronous wait-for-a-message operation.
Public method GetProperty(Of T) Returns a typed object requested, if present, from the appropriate layer in the channel stack. (Inherited from IChannel.)
Public method Open Causes a communication object to transition from the created state into the opened state. (Inherited from ICommunicationObject.)
Public method Open(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 method Receive Returns the message received, if one is available. If a message is not available, blocks for a default interval of time.
Public method Receive(TimeSpan) Returns the message received, if one is available. If a message is not available, blocks for a specified interval of time.
Public method TryReceive Tries to receive a message within a specified interval of time.
Public method WaitForMessage Returns a value that indicates whether a message has arrived within a specified interval of time.
Top

Show:
© 2017 Microsoft