ProxySocketBeginConnect(EndPoint, AsyncCallback, Object) Method
|
Begins an asynchronous request for a connection to a network device.
Namespace: mtapi.mt5Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax public IAsyncResult BeginConnect(
EndPoint remoteEP,
AsyncCallback callback,
Object state
)
Public Function BeginConnect (
remoteEP As EndPoint,
callback As AsyncCallback,
state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
EndPoint^ remoteEP,
AsyncCallback^ callback,
Object^ state
)
member BeginConnect :
remoteEP : EndPoint *
callback : AsyncCallback *
state : Object -> IAsyncResult
Parameters
- remoteEP EndPoint
- An EndPoint that represents the remote device.
- callback AsyncCallback
- The AsyncCallback delegate.
- state Object
- An object that contains state information for this request.
Return Value
IAsyncResultAn IAsyncResult that references the asynchronous connection.
Exceptions See Also