C# 클래스 Opc.Ua.ServiceResult

파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

Private Properties

프로퍼티 타입 설명
LookupString string
ServiceResult System

공개 메소드들

메소드 설명
BuildExceptionTrace ( Exception exception ) : string

Returns a string containing all nested exceptions.

Create ( Exception e, TranslationInfo translation, uint defaultCode ) : ServiceResult

Creates a new instance of a ServiceResult

Create ( Exception e, uint defaultCode, string format ) : ServiceResult

Creates a new instance of a ServiceResult

Create ( uint code, TranslationInfo translation ) : ServiceResult

Creates a new instance of a ServiceResult

Create ( uint code, string format ) : ServiceResult

Creates a new instance of a ServiceResult

IsBad ( ServiceResult status ) : bool

Returns true if the status code is bad.

IsGood ( ServiceResult status ) : bool

Returns true if the status code is good.

IsNotBad ( ServiceResult status ) : bool

Returns true if the status is good or uncertain.

IsNotGood ( ServiceResult status ) : bool

Returns true if the status is bad or uncertain.

IsNotUncertain ( ServiceResult status ) : bool

Returns true if the status is good or uncertain.

IsUncertain ( ServiceResult status ) : bool

Returns true if the status code is uncertain.

LookupSymbolicId ( uint code ) : string

Looks up the symbolic name for a status code.

ServiceResult ( Exception exception ) : System

Constructs a object from an exception.

ServiceResult ( Exception exception, uint defaultCode ) : System

Constructs a object from an exception.

The code parameter is ignored for ServiceResultExceptions.

ServiceResult ( Exception exception, uint defaultCode, Opc.Ua.LocalizedText defaultLocalizedText ) : System

Constructs a object from an exception.

The defaultCode and defaultLocalizedText parameters are ignored for ServiceResultExceptions.

ServiceResult ( Exception exception, uint defaultCode, string defaultSymbolicId, string defaultNamespaceUri ) : System

Constructs a object from an exception.

The code, symbolicId and namespaceUri parameters are ignored for ServiceResultExceptions.

ServiceResult ( Exception e, uint defaultCode, string defaultSymbolicId, string defaultNamespaceUri, Opc.Ua.LocalizedText defaultLocalizedText ) : System

Constructs a object from an exception.

The code, symbolicId, namespaceUri and localizedText parameters are ignored for ServiceResultExceptions.

ServiceResult ( Opc.Ua.StatusCode status ) : System

Constructs a object from a StatusCode.

ServiceResult ( Opc.Ua.StatusCode code, DiagnosticInfo diagnosticInfo, IList stringTable ) : System

Initializes the object with a status code and a diagnostic info structure.

ServiceResult ( Opc.Ua.StatusCode code, Exception innerException ) : System

Constructs a object by specifying each property.

The innerException is used to construct the innerResult.

ServiceResult ( Opc.Ua.StatusCode code, Opc.Ua.LocalizedText localizedText ) : System

Constructs a object by specifying each property.

ServiceResult ( Opc.Ua.StatusCode code, Opc.Ua.LocalizedText localizedText, Exception innerException ) : System

Constructs a object by specifying each property.

The innerException is used to construct the innerResult.

ServiceResult ( Opc.Ua.StatusCode code, ServiceResult innerResult ) : System

Constructs a object by specifying each property.

ServiceResult ( Opc.Ua.StatusCode code, XmlQualifiedName symbolicId, Opc.Ua.LocalizedText localizedText ) : System

Constructs a object by specifying each property.

ServiceResult ( Opc.Ua.StatusCode code, int index, DiagnosticInfoCollection diagnosticInfos, IList stringTable ) : System

Initializes the object with a status code and a diagnostic info structure.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri ) : System

Constructs a object by specifying each property.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Exception innerException ) : System

Constructs a object by specifying each property.

The innerException is used to construct the innerResult.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText ) : System

Constructs a object by specifying each property.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, Exception innerException ) : System

Constructs a object by specifying each property.

The innerException is used to construct the innerResult.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, string additionalInfo ) : System

Constructs a object by specifying each property.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, string additionalInfo, Exception innerException ) : System

Constructs a object by specifying each property.

The innerException is used to construct the inner result.

ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, string additionalInfo, ServiceResult innerResult ) : System

Constructs a object by specifying each property.

ServiceResult ( uint code ) : System

Constructs a object from a StatusCode.

ToLongString ( ) : string

Returns a formatted string with the contents of exeception.

ToString ( ) : string

Converts the value to a human readable string.

비공개 메소드들

메소드 설명
LookupString ( IList stringTable, int index ) : string

Looks up a string in a string table.

ServiceResult ( ) : System

Initializes the object with default values.

메소드 상세

BuildExceptionTrace() 공개 정적인 메소드

Returns a string containing all nested exceptions.
public static BuildExceptionTrace ( Exception exception ) : string
exception System.Exception
리턴 string

Create() 공개 정적인 메소드

Creates a new instance of a ServiceResult
public static Create ( Exception e, TranslationInfo translation, uint defaultCode ) : ServiceResult
e System.Exception
translation TranslationInfo
defaultCode uint
리턴 ServiceResult

Create() 공개 정적인 메소드

Creates a new instance of a ServiceResult
public static Create ( Exception e, uint defaultCode, string format ) : ServiceResult
e System.Exception
defaultCode uint
format string
리턴 ServiceResult

Create() 공개 정적인 메소드

Creates a new instance of a ServiceResult
public static Create ( uint code, TranslationInfo translation ) : ServiceResult
code uint
translation TranslationInfo
리턴 ServiceResult

Create() 공개 정적인 메소드

Creates a new instance of a ServiceResult
public static Create ( uint code, string format ) : ServiceResult
code uint
format string
리턴 ServiceResult

IsBad() 공개 정적인 메소드

Returns true if the status code is bad.
public static IsBad ( ServiceResult status ) : bool
status ServiceResult
리턴 bool

IsGood() 공개 정적인 메소드

Returns true if the status code is good.
public static IsGood ( ServiceResult status ) : bool
status ServiceResult
리턴 bool

IsNotBad() 공개 정적인 메소드

Returns true if the status is good or uncertain.
public static IsNotBad ( ServiceResult status ) : bool
status ServiceResult
리턴 bool

IsNotGood() 공개 정적인 메소드

Returns true if the status is bad or uncertain.
public static IsNotGood ( ServiceResult status ) : bool
status ServiceResult
리턴 bool

IsNotUncertain() 공개 정적인 메소드

Returns true if the status is good or uncertain.
public static IsNotUncertain ( ServiceResult status ) : bool
status ServiceResult
리턴 bool

IsUncertain() 공개 정적인 메소드

Returns true if the status code is uncertain.
public static IsUncertain ( ServiceResult status ) : bool
status ServiceResult
리턴 bool

LookupSymbolicId() 공개 정적인 메소드

Looks up the symbolic name for a status code.
public static LookupSymbolicId ( uint code ) : string
code uint
리턴 string

ServiceResult() 공개 메소드

Constructs a object from an exception.
public ServiceResult ( Exception exception ) : System
exception System.Exception
리턴 System

ServiceResult() 공개 메소드

Constructs a object from an exception.
The code parameter is ignored for ServiceResultExceptions.
public ServiceResult ( Exception exception, uint defaultCode ) : System
exception System.Exception
defaultCode uint
리턴 System

ServiceResult() 공개 메소드

Constructs a object from an exception.
The defaultCode and defaultLocalizedText parameters are ignored for ServiceResultExceptions.
public ServiceResult ( Exception exception, uint defaultCode, Opc.Ua.LocalizedText defaultLocalizedText ) : System
exception System.Exception
defaultCode uint
defaultLocalizedText Opc.Ua.LocalizedText
리턴 System

ServiceResult() 공개 메소드

Constructs a object from an exception.
The code, symbolicId and namespaceUri parameters are ignored for ServiceResultExceptions.
public ServiceResult ( Exception exception, uint defaultCode, string defaultSymbolicId, string defaultNamespaceUri ) : System
exception System.Exception
defaultCode uint
defaultSymbolicId string
defaultNamespaceUri string
리턴 System

ServiceResult() 공개 메소드

Constructs a object from an exception.
The code, symbolicId, namespaceUri and localizedText parameters are ignored for ServiceResultExceptions.
public ServiceResult ( Exception e, uint defaultCode, string defaultSymbolicId, string defaultNamespaceUri, Opc.Ua.LocalizedText defaultLocalizedText ) : System
e System.Exception
defaultCode uint
defaultSymbolicId string
defaultNamespaceUri string
defaultLocalizedText Opc.Ua.LocalizedText
리턴 System

ServiceResult() 공개 메소드

Constructs a object from a StatusCode.
public ServiceResult ( Opc.Ua.StatusCode status ) : System
status Opc.Ua.StatusCode
리턴 System

ServiceResult() 공개 메소드

Initializes the object with a status code and a diagnostic info structure.
public ServiceResult ( Opc.Ua.StatusCode code, DiagnosticInfo diagnosticInfo, IList stringTable ) : System
code Opc.Ua.StatusCode
diagnosticInfo DiagnosticInfo
stringTable IList
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
The innerException is used to construct the innerResult.
public ServiceResult ( Opc.Ua.StatusCode code, Exception innerException ) : System
code Opc.Ua.StatusCode
innerException System.Exception
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, Opc.Ua.LocalizedText localizedText ) : System
code Opc.Ua.StatusCode
localizedText Opc.Ua.LocalizedText
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
The innerException is used to construct the innerResult.
public ServiceResult ( Opc.Ua.StatusCode code, Opc.Ua.LocalizedText localizedText, Exception innerException ) : System
code Opc.Ua.StatusCode
localizedText Opc.Ua.LocalizedText
innerException System.Exception
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, ServiceResult innerResult ) : System
code Opc.Ua.StatusCode
innerResult ServiceResult
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, XmlQualifiedName symbolicId, Opc.Ua.LocalizedText localizedText ) : System
code Opc.Ua.StatusCode
symbolicId System.Xml.XmlQualifiedName
localizedText Opc.Ua.LocalizedText
리턴 System

ServiceResult() 공개 메소드

Initializes the object with a status code and a diagnostic info structure.
public ServiceResult ( Opc.Ua.StatusCode code, int index, DiagnosticInfoCollection diagnosticInfos, IList stringTable ) : System
code Opc.Ua.StatusCode
index int
diagnosticInfos DiagnosticInfoCollection
stringTable IList
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
The innerException is used to construct the innerResult.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Exception innerException ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
innerException System.Exception
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
localizedText Opc.Ua.LocalizedText
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
The innerException is used to construct the innerResult.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, Exception innerException ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
localizedText Opc.Ua.LocalizedText
innerException System.Exception
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, string additionalInfo ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
localizedText Opc.Ua.LocalizedText
additionalInfo string
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
The innerException is used to construct the inner result.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, string additionalInfo, Exception innerException ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
localizedText Opc.Ua.LocalizedText
additionalInfo string
innerException System.Exception
리턴 System

ServiceResult() 공개 메소드

Constructs a object by specifying each property.
public ServiceResult ( Opc.Ua.StatusCode code, string symbolicId, string namespaceUri, Opc.Ua.LocalizedText localizedText, string additionalInfo, ServiceResult innerResult ) : System
code Opc.Ua.StatusCode
symbolicId string
namespaceUri string
localizedText Opc.Ua.LocalizedText
additionalInfo string
innerResult ServiceResult
리턴 System

ServiceResult() 공개 메소드

Constructs a object from a StatusCode.
public ServiceResult ( uint code ) : System
code uint
리턴 System

ToLongString() 공개 메소드

Returns a formatted string with the contents of exeception.
public ToLongString ( ) : string
리턴 string

ToString() 공개 메소드

Converts the value to a human readable string.
public ToString ( ) : string
리턴 string