DialCompletedEventArgs Constructor

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Initializes a new instance of the DialCompletedEventArgs class.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public DialCompletedEventArgs(
	RasHandle handle,
	Exception error,
	bool cancelled,
	bool timedOut,
	bool connected,
	Object userState
)
Visual Basic
Public Sub New ( 
	handle As RasHandle,
	error As Exception,
	cancelled As Boolean,
	timedOut As Boolean,
	connected As Boolean,
	userState As Object
)
Visual C++
public:
DialCompletedEventArgs(
	RasHandle^ handle, 
	Exception^ error, 
	bool cancelled, 
	bool timedOut, 
	bool connected, 
	Object^ userState
)
F#
new : 
        handle : RasHandle * 
        error : Exception * 
        cancelled : bool * 
        timedOut : bool * 
        connected : bool * 
        userState : Object -> DialCompletedEventArgs

Parameters

handle
Type: DotRas..::..RasHandle
The handle whose connection attempt completed.
error
Type: System..::..Exception
Any error that occurred during the asynchronous operation.
cancelled
Type: System..::..Boolean
true if the asynchronous operation was cancelled, otherwise false.
timedOut
Type: System..::..Boolean
true if the operation timed out, otherwise false.
connected
Type: System..::..Boolean
true if the connection attempt successfully connected, otherwise false.
userState
Type: System..::..Object
The optional user-supplied state object.

See Also