AuthorizationFailedException Constructor (String)

Note: This API is now obsolete.

Initializes a new instance of the AuthorizationFailedException using the specified message.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
<ObsoleteAttribute("This exception supports ServiceBus functionality. This exception should not be created")> _
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New AuthorizationFailedException(message)
[ObsoleteAttribute("This exception supports ServiceBus functionality. This exception should not be created")]
public AuthorizationFailedException(
    string message
)
[ObsoleteAttribute(L"This exception supports ServiceBus functionality. This exception should not be created")]
public:
AuthorizationFailedException(
    String^ message
)
[<ObsoleteAttribute("This exception supports ServiceBus functionality. This exception should not be created")>]
new : 
        message:string -> AuthorizationFailedException
public function AuthorizationFailedException(
    message : String
)

Parameters

Remarks

For more information on setting authorization credentials, see Securing and Authenticating an AppFabric Service Bus Connection.

See Also

Reference

AuthorizationFailedException Class

AuthorizationFailedException Overload

Microsoft.ServiceBus Namespace