IrDAClientBeginConnect(String, AsyncCallback, Object) Method
Begins an asynchronous request for a remote host connection.
The remote host is specified by a service name (string).
Namespace: InTheHand.Net.SocketsAssembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public IAsyncResult BeginConnect(
string service,
AsyncCallback requestCallback,
Object state
)
Public Function BeginConnect (
service As String,
requestCallback As AsyncCallback,
state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
String^ service,
AsyncCallback^ requestCallback,
Object^ state
)
member BeginConnect :
service : string *
requestCallback : AsyncCallback *
state : Object -> IAsyncResult
- service String
- The service name of the remote host.
- 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.