EasyUA Reference
StatusCode Constructor(Exception,UInt32)
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > StatusCode Structure > StatusCode Constructor : StatusCode Constructor(Exception,UInt32)

e
The exception to convert to a status code
defaultCode
The default code to apply if the routine cannot determine the code from the Exception

Glossary Item Box

Initializes the object from an exception.

Syntax

Visual Basic (Usage)Copy Code
Dim e As Exception
Dim defaultCode As UInteger
 
Dim instance As New StatusCode(e, defaultCode)
C# 
public StatusCode( 
   Exception e,
   uint defaultCode
)

Parameters

e
The exception to convert to a status code
defaultCode
The default code to apply if the routine cannot determine the code from the Exception

Remarks

Initializes the object from an exception and a numeric code. The numeric code will be determined from the Exception if possible, otherwise the value passed in will be used.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.