LogicalMethodInfo.AsyncStateParameter Property

 

Gets the parameter information for the AsyncState parameter of a Begin method in an asynchronous invocation.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

member AsyncStateParameter : ParameterInfo with get

Property Value

Type: System.Reflection.ParameterInfo

A ParameterInfo representing the AsyncState parameter of a Begin method in an asynchronous invocation.

The asynchronous design pattern in the common language runtime involves calling a Begin method to start the asynchronous method invocation and an End method to complete the invocation. The Begin method takes two additional parameters besides the parameters defined by the synchronous version of the method: one to store a delegate and one to store any state information that needs to be passed on to the delegate. This property represents the state information that needs to be passed into the delegate.

For more information on invoking XML Web services asynchronously, see [<topic://cpconInvokingWebServicesAsynchronously>].

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: