C# 클래스 Opc.Ua.Configuration.PseudoComServer

A class that describes a Pseudo COM server which
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
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