C# 클래스 Opc.Ua.Com.Client.ComClient

Provides access to a COM server.
상속: ComObject
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Gracefully closes the connection to the server.

ComClient ( ComClientConfiguration configuration ) : System

Initializes the object with the ProgID of the server being accessed.

CreateInstance ( ) : void

Creates an instance of the COM server.

GetErrorString ( int error ) : string

Fetches the error string from the server.

QueryAvailableLocales ( ) : int[]

Fetches the available locales.

SelectLocaleId ( IList availableLocaleIds, IList preferredLocales ) : int

Selects the best matching locale id.

SetLocale ( int localeId ) : void

Sets the current locale.

SetUserIdentity ( IUserIdentity identity ) : void

Sets the current user identity.

보호된 메소드들

메소드 설명
OnConnected ( ) : void

Called immediately after connecting to the server.

메소드 상세

Close() 공개 메소드

Gracefully closes the connection to the server.
public Close ( ) : void
리턴 void

ComClient() 공개 메소드

Initializes the object with the ProgID of the server being accessed.
public ComClient ( ComClientConfiguration configuration ) : System
configuration ComClientConfiguration
리턴 System

CreateInstance() 공개 메소드

Creates an instance of the COM server.
public CreateInstance ( ) : void
리턴 void

GetErrorString() 공개 메소드

Fetches the error string from the server.
public GetErrorString ( int error ) : string
error int
리턴 string

OnConnected() 보호된 메소드

Called immediately after connecting to the server.
protected OnConnected ( ) : void
리턴 void

QueryAvailableLocales() 공개 메소드

Fetches the available locales.
public QueryAvailableLocales ( ) : int[]
리턴 int[]

SelectLocaleId() 공개 정적인 메소드

Selects the best matching locale id.
public static SelectLocaleId ( IList availableLocaleIds, IList preferredLocales ) : int
availableLocaleIds IList
preferredLocales IList
리턴 int

SetLocale() 공개 메소드

Sets the current locale.
public SetLocale ( int localeId ) : void
localeId int
리턴 void

SetUserIdentity() 공개 메소드

Sets the current user identity.
public SetUserIdentity ( IUserIdentity identity ) : void
identity IUserIdentity
리턴 void