C# Класс Opc.Ua.Configuration.PseudoComServer

A class that describes a Pseudo COM server which
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateProgIdFromUrl ( ComSpecification specification, string uri ) : string

Creates a ProgId from a URI

Delete ( string filePath ) : string

Deletes the configured endpoints conatined a collection saved on disk.

Delete ( System.Guid clsid ) : void

Deletes the pseudoserver from the registry.

Enumerate ( ) : List

Returns the UA COM Pseudo-servers registered on the local computer.

Export ( string filePath ) : void

Exports COM endpoint configurations to the specified file.

GetServerHostClsid ( ComSpecification specification ) : System.Guid

Returns the CLSID of the host process to use for the specification.

Import ( string filePath ) : string

Imports the configured endpoints from a collection saved on disk.

Load ( System.Guid clsid ) : ConfiguredEndpoint

Loads the endpoint information from the registry.

Save ( ConfiguredEndpoint endpoint ) : void

Saves the endpoint information in the registry.

Приватные методы

Метод Описание
DeleteConfiguredEndpointFile ( System.Guid clsid ) : void

Deletes the file containing the configured endpoint.

GetDescription ( System.Guid server ) : string

Returns the description

LoadConfiguredEndpoint ( System.Guid clsid ) : ConfiguredEndpoint

Reads the UA endpoint information associated the CLSID

LoadConfiguredEndpointFromFile ( System.Guid clsid ) : ConfiguredEndpoint

Reads the UA endpoint information associated the CLSID

LoadConfiguredEndpointFromRegistry ( System.Guid clsid ) : ConfiguredEndpoint

Reads the ConfiguredEndpoint from the registry.

SaveConfiguredEndpoint ( System.Guid clsid, ConfiguredEndpoint endpoint ) : void

Saves the UA endpoint information associated the CLSID.

SaveConfiguredEndpointToFile ( System.Guid clsid, ConfiguredEndpoint endpoint ) : void

Saves the UA endpoint information associated the CLSID.

SaveConfiguredEndpointToRegistry ( System.Guid clsid, ConfiguredEndpoint endpoint ) : void

Saves the ConfiguredEndpoint from the registry.

Описание методов

CreateProgIdFromUrl() публичный статический Метод

Creates a ProgId from a URI
public static CreateProgIdFromUrl ( ComSpecification specification, string uri ) : string
specification ComSpecification
uri string
Результат string

Delete() публичный статический Метод

Deletes the configured endpoints conatined a collection saved on disk.
public static Delete ( string filePath ) : string
filePath string The file path.
Результат string

Delete() публичный статический Метод

Deletes the pseudoserver from the registry.
public static Delete ( System.Guid clsid ) : void
clsid System.Guid
Результат void

Enumerate() публичный статический Метод

Returns the UA COM Pseudo-servers registered on the local computer.
public static Enumerate ( ) : List
Результат List

Export() публичный статический Метод

Exports COM endpoint configurations to the specified file.
public static Export ( string filePath ) : void
filePath string The file path.
Результат void

GetServerHostClsid() публичный статический Метод

Returns the CLSID of the host process to use for the specification.
public static GetServerHostClsid ( ComSpecification specification ) : System.Guid
specification ComSpecification
Результат System.Guid

Import() публичный статический Метод

Imports the configured endpoints from a collection saved on disk.
public static Import ( string filePath ) : string
filePath string The file path.
Результат string

Load() публичный статический Метод

Loads the endpoint information from the registry.
public static Load ( System.Guid clsid ) : ConfiguredEndpoint
clsid System.Guid
Результат ConfiguredEndpoint

Save() публичный статический Метод

Saves the endpoint information in the registry.
public static Save ( ConfiguredEndpoint endpoint ) : void
endpoint ConfiguredEndpoint
Результат void