Visual Basic (Usage) | ![]() |
---|---|
Dim e As Exception Dim defaultCode As UInteger Dim format As String Dim args() As Object Dim value As ServiceResult value = ServiceResult.Create(e, defaultCode, format, args) |
C# | |
---|---|
public static ServiceResult Create( Exception e, uint defaultCode, string format, params object[] args ) |
Parameters
- e
- defaultCode
- format
- args
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x