Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDuplexSession.BeginCloseOutputSession Method (TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to terminate the outbound session with a specified timeout within which the operation must complete.

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

IAsyncResult BeginCloseOutputSession(
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)

Parameters

timeout
Type: System.TimeSpan
The TimeSpan that specifies the interval of time within which the operation must complete.
callback
Type: System.AsyncCallback
The AsyncCallback delegate.
state
Type: System.Object
An object that contains state information for this request.

Return Value

Type: System.IAsyncResult
The IAsyncResult that references the asynchronous outbound session termination.

Terminating the outbound session does not affect the incoming session and so makes no statement about the ability to receive messages on the session associated with the input channel.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft