SoapClient.BeginSendRequestResponse Method (String, SoapEnvelope, AsyncCallback, Object)
Sends a request asynchronously, using the specified SOAP method, SOAP envelope, callback method, and state.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Public Class soapClientImplementation
Inherits SoapClient
Protected Overrides Function BeginSendRequestResponse(methodname As String, _
envelope As SoapEnvelope, _
callback As AsyncCallback, _
state As Object)
MyBase.BeginSendRequestResponse(methodname, envelope, callback, state)
End Function
End Class
Syntax
'Declaration
Overloads Protected Function BeginSendRequestResponse( _
ByVal methodname As String, _
ByVal envelope As SoapEnvelope, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
protected IAsyncResult BeginSendRequestResponse(
string methodname,
SoapEnvelope envelope,
AsyncCallback callback,
object state
);
protected:
IAsyncResult^ BeginSendRequestResponse(
String^ methodname,
SoapEnvelope^ envelope,
AsyncCallback^ callback,
Object^ state
);
protected IAsyncResult BeginSendRequestResponse(
System.String methodname,
SoapEnvelope envelope,
AsyncCallback callback,
System.Object state
);
protected function BeginSendRequestResponse(
methodname : String,
envelope : SoapEnvelope,
callback : AsyncCallback,
state : Object
) : IAsyncResult;
Parameters
- methodname
A string that specifies the SOAP method.
- envelope
A SoapEnvelope that represents the SOAP message.
- callback
An AsyncCallback that represents the callback method.
- state
An object that can be used to access state information of the asynchronous operation.
Return Value
The IAsyncResult that identifies the asynchronous request.
Remarks
If the specified method name is a valid SOAP method then the SOAP action is the value of the SoapAction property. Otherwise the method name becomes the SOAP action.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SoapClient Class
SoapClient Members
Microsoft.Web.Services3.Messaging Namespace