MessagingExceptionDetail.ReconstructExceptionDetail Method
Returns the exception details when the underlying storage layer returns an invalid response. This method is not meant to be called from user code.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
'Declaration
Public Shared Function ReconstructExceptionDetail ( _
errorCode As Integer, _
message As String, _
errorLevel As MessagingExceptionDetail.ErrorLevelType _
) As MessagingExceptionDetail
'Usage
Dim errorCode As Integer
Dim message As String
Dim errorLevel As MessagingExceptionDetail.ErrorLevelType
Dim returnValue As MessagingExceptionDetail
returnValue = MessagingExceptionDetail.ReconstructExceptionDetail(errorCode, _
message, errorLevel)
public static MessagingExceptionDetail ReconstructExceptionDetail(
int errorCode,
string message,
MessagingExceptionDetail.ErrorLevelType errorLevel
)
public:
static MessagingExceptionDetail^ ReconstructExceptionDetail(
int errorCode,
String^ message,
MessagingExceptionDetail.ErrorLevelType errorLevel
)
static member ReconstructExceptionDetail :
errorCode:int *
message:string *
errorLevel:MessagingExceptionDetail.ErrorLevelType -> MessagingExceptionDetail
public static function ReconstructExceptionDetail(
errorCode : int,
message : String,
errorLevel : MessagingExceptionDetail.ErrorLevelType
) : MessagingExceptionDetail
Parameters
- errorCode
Type: System.Int32
The error code.
- message
Type: System.String
A descriptive message about the exception.
- errorLevel
Type: Microsoft.ServiceBus.Messaging.MessagingExceptionDetail.ErrorLevelType
The error level.
Return Value
Type: Microsoft.ServiceBus.Messaging.MessagingExceptionDetail
Returns MessagingExceptionDetail.