ICommunicationObject Methods
Collapse the table of content
Expand the table of content

ICommunicationObject Methods

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

The ICommunicationObject type exposes the following members.

  NameDescription
Public method Abort Causes a communication object to transition immediately from its current state into the closed state.
Public method BeginClose(AsyncCallback, Object) Begins an asynchronous operation to close a communication object.
Public method BeginClose(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to close a communication object with a specified time-out.
Public method BeginOpen(AsyncCallback, Object) Begins an asynchronous operation to open a communication object.
Public method BeginOpen(TimeSpan, AsyncCallback, Object) Begins an asynchronous operation to open a communication object within a specified interval of time.
Public method Close() Causes a communication object to transition from its current state into the closed state.
Public method Close(TimeSpan) Causes a communication object to transition from its current state into the closed state.
Public method EndClose Completes an asynchronous operation to close a communication object.
Public method EndOpen Completes an asynchronous operation to open a communication object.
Public method Open() Causes a communication object to transition from the created state into the opened state.
Public method Open(TimeSpan) Causes a communication object to transition from the created state into the opened state within a specified interval of time.
Top

Show:
© 2017 Microsoft