RasConnectionWatcher Members

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasConnectionWatcher type exposes the following members.

Constructors

  Name Description
Public method RasConnectionWatcher()()()()
Initializes a new instance of the RasConnectionWatcher class.
Public method RasConnectionWatcher(IContainer)
Initializes a new instance of the RasConnectionWatcher class.

Methods

  Name Description
Public method BeginInit
Begins the initialization of a RasConnectionWatcher used on a form or other component.
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Dispose
Releases all resources used by the Component.
(Inherited from Component.)
Public method EndInit
Ends the initialization of a RasConnectionWatcher used on a form or other component.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Properties

  Name Description
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property EnableRaisingEvents
Gets or sets a value indicating whether the component is enabled.
Public property Handle
Gets or sets the connection handle to watch.
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property SynchronizingObject
Gets or sets the object used to marshal event-handler calls that are issued by the component.
(Inherited from RasComponent.)

Events

  Name Description
Public event BandwidthAdded
Occurs when a remote access connection subentry has connected.
Public event BandwidthRemoved
Occurs when a remote access connection subentry is disconnected.
Public event Connected
Occurs when a remote access connection is established.
Public event Disconnected
Occurs when a remote access connection is disconnected.
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public event Error
Occurs when the component has encountered an error.
(Inherited from RasComponent.)

See Also