IrDAClientBeginConnect(IrDAEndPoint, AsyncCallback, Object) Method
Begins an asynchronous request for a remote host connection.
The remote host is specified by an endpoint.
Namespace: InTheHand.Net.SocketsAssembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public IAsyncResult BeginConnect(
IrDAEndPoint remoteEP,
AsyncCallback requestCallback,
Object state
)
Public Function BeginConnect (
remoteEP As IrDAEndPoint,
requestCallback As AsyncCallback,
state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
IrDAEndPoint^ remoteEP,
AsyncCallback^ requestCallback,
Object^ state
)
member BeginConnect :
remoteEP : IrDAEndPoint *
requestCallback : AsyncCallback *
state : Object -> IAsyncResult
- remoteEP IrDAEndPoint
-
An IrDAEndPoint initialised with the address of the peer
device and the service name to connect to.
- requestCallback AsyncCallback
- An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state Object
- A user-defined object that contains information about the connect operation.
This object is passed to the requestCallback delegate when the operation is complete.
IAsyncResultAn
IAsyncResult that represents the
asynchronous connect, which could still be pending.