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)

[ObsoleteAttribute("This exception supports ServiceBus functionality. This exception should not be created")]
public AuthorizationFailedException(
	string message
)

Parameters

message
Type: System..::..String
The message that describes the error.

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

Community Additions

Show: