RasHandle Members

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasHandle type exposes the following members.

Constructors

  Name Description
Public method RasHandle
Initializes a new instance of the RasHandle class.

Methods

  Name Description
Public method Close
Marks the handle for releasing and freeing resources.
(Inherited from SafeHandle.)
Public method DangerousAddRef
Manually increments the reference counter on SafeHandle instances.
(Inherited from SafeHandle.)
Public method DangerousGetHandle
Returns the value of the handle field.
(Inherited from SafeHandle.)
Public method DangerousRelease
Manually decrements the reference counter on a SafeHandle instance.
(Inherited from SafeHandle.)
Public method Dispose
Releases all resources used by the SafeHandle class.
(Inherited from SafeHandle.)
Public method Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::..Equals(Object).)
Public method Equals(RasHandle)
Determines whether the specified RasHandle is equal to the current RasHandle.
Public method GetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method SetHandleAsInvalid
Marks a handle as no longer used.
(Inherited from SafeHandle.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Operators

  Name Description
Public operator Static member Equality
Determines whether two instances of RasHandle are equal.
Public operator Static member Inequality
Determines whether two instances of RasHandle are not equal.

Properties

  Name Description
Public property IsClosed
Gets a value indicating whether the handle is closed.
(Inherited from SafeHandle.)
Public property IsInvalid
Gets a value that indicates whether the handle is invalid.
(Inherited from SafeHandleZeroOrMinusOneIsInvalid.)
Public property IsMultilink
Gets a value indicating whether the handle is for a single-link in a multi-link connection.

See Also