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

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

Public Methods

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
Initialize ( ) : void

Sets private members to default values.

Method Details

Advise() public method

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

ConnectionPoint() public method

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

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Unadvise() public method

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