ICommunicationObject.BeginClose Method (AsyncCallback, Object)
Collapse the table of content
Expand the table of content

ClientBase(Of TChannel).ICommunicationObject.BeginClose Method (AsyncCallback, Object)

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

Begins an asynchronous operation to close the ClientBase(Of TChannel).

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

'Declaration
Private Function BeginClose ( _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult Implements ICommunicationObject.BeginClose

Parameters

callback
Type: System.AsyncCallback
The method that receives the callback on completion.
state
Type: System.Object
The state data.

Return Value

Type: System.IAsyncResult
The IAsyncResult that references the asynchronous close operation.

Implements

ICommunicationObject.BeginClose(AsyncCallback, Object)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft