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

  • message
    Type: System.String
    A descriptive message about the exception.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessagingExceptionDetail
Returns MessagingExceptionDetail.

See Also

Reference

MessagingExceptionDetail Class

Microsoft.ServiceBus.Messaging Namespace