Abort Method
Collapse the table of content
Expand the table of content

ICommunicationObject.Abort Method

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

Causes a communication object to transition immediately from its current state into the closed state.

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

void Abort()

This method indicates that any unfinished work should be ignored or ungracefully terminated before returning. The Abort method can be used to cancel any outstanding operations, including outstanding calls to Close.

To gracefully transition an ICommunicationObject from the Opened state to the Closed state, call Close.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft