DotRas SDK Documentation |
RasConnectionWatcher Members |
RasConnectionWatcher Class Constructors Methods Properties Events See Also Send Feedback |
The RasConnectionWatcher type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RasConnectionWatcher()()()() |
Initializes a new instance of the RasConnectionWatcher class.
|
|
RasConnectionWatcher(IContainer) |
Initializes a new instance of the RasConnectionWatcher class.
|
Methods
Name | Description | |
---|---|---|
BeginInit |
Begins the initialization of a RasConnectionWatcher used on a form or other component.
|
|
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.) |
|
Dispose | Releases all resources used by the Component. (Inherited from Component.) |
|
EndInit |
Ends the initialization of a RasConnectionWatcher used on a form or other component.
|
|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
Properties
Name | Description | |
---|---|---|
Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
|
EnableRaisingEvents |
Gets or sets a value indicating whether the component is enabled.
|
|
Handle |
Gets or sets the connection handle to watch.
|
|
Site | (Inherited from Component.) | |
SynchronizingObject |
Gets or sets the object used to marshal event-handler calls that are issued by the component.
(Inherited from RasComponent.) |
Events
Name | Description | |
---|---|---|
BandwidthAdded |
Occurs when a remote access connection subentry has connected.
|
|
BandwidthRemoved |
Occurs when a remote access connection subentry is disconnected.
|
|
Connected |
Occurs when a remote access connection is established.
|
|
Disconnected |
Occurs when a remote access connection is disconnected.
|
|
Disposed | Occurs when the component is disposed by a call to the Dispose()()()() method. (Inherited from Component.) |
|
Error |
Occurs when the component has encountered an error.
(Inherited from RasComponent.) |