RasHandle Methods

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasHandle type exposes the following members.

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.)

See Also