| Visual Basic (Usage) | Copy Code |
|---|---|
Dim exception As Exception Dim defaultCode As UInteger Dim defaultLocalizedText As LocalizedText Dim instance As New ServiceResult(exception, defaultCode, defaultLocalizedText) | |
| C# | |
|---|---|
public ServiceResult( Exception exception, uint defaultCode, LocalizedText defaultLocalizedText ) | |
Parameters
- exception
- defaultCode
- defaultLocalizedText
The defaultCode and defaultLocalizedText parameters are ignored for ServiceResultExceptions.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x