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

exception
defaultCode

Glossary Item Box

Constructs a object from an exception.

Syntax

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

Parameters

exception
defaultCode

Remarks

The code parameter is ignored for ServiceResultExceptions.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.