C# Class Opc.Ua.Com.Client.ConnectionPoint

Manages a connection point with a COM server.
Inheritance: IDisposable
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
Advise ( object callback ) : int

Establishes a connection, if necessary and increments the reference count.

ConnectionPoint ( object server, System.Guid iid ) : System

Initializes the object by finding the specified connection point.

Dispose ( ) : void

Frees any unmanaged resources.

Unadvise ( ) : int

Decrements the reference count and closes the connection if no more references.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Méthode Description
Initialize ( ) : void

Sets private members to default values.

Method Details

Advise() public méthode

Establishes a connection, if necessary and increments the reference count.
public Advise ( object callback ) : int
callback object
Résultat int

ConnectionPoint() public méthode

Initializes the object by finding the specified connection point.
public ConnectionPoint ( object server, System.Guid iid ) : System
server object
iid System.Guid
Résultat System

Dispose() public méthode

Frees any unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Unadvise() public méthode

Decrements the reference count and closes the connection if no more references.
public Unadvise ( ) : int
Résultat int