IBdcSoapHttpClientProtocolExtension.BeginInvoke Method
Starts an asynchronous invocation of an XML Web service method using SOAP.
Namespace: Microsoft.BusinessData.SystemSpecific
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function BeginInvoke ( _
methodName As String, _
parameters As Object(), _
callback As AsyncCallback, _
asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As IBdcSoapHttpClientProtocolExtension
Dim methodName As String
Dim parameters As Object()
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginInvoke(methodName, _
parameters, callback, asyncState)
IAsyncResult BeginInvoke(
string methodName,
Object[] parameters,
AsyncCallback callback,
Object asyncState
)
Parameters
methodName
Type: System.StringThe name of the XML Web service method in the implementation class that is invoking the BeginInvoke method.
parameters
Type: []An array of objects containing the parameters to pass to the XML Web service. The order of the values in the array correspond to the order of the parameters in the calling method of the implementation class.
callback
Type: System.AsyncCallbackThe delegate to call when the asynchronous invoke is complete. If callback is a null reference (Nothing in Visual Basic), the delegate is not called.
asyncState
Type: System.ObjectExtra information supplied by the caller.
Return Value
Type: System.IAsyncResult
An IAsyncResult that is passed to the EndInvoke(IAsyncResult) method to obtain the return values from the remote method call.
See Also
Reference
IBdcSoapHttpClientProtocolExtension Interface