The exception that occurs when an authorization attempt fails.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Gets or sets the error code that describes the cause of authorization attempt failure.
Populates a SerializationInfo object with the data needed to serialize the target object.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Windows Azure Service Bus supports only Full Trust code access security.
Typical causes of this exception include, but are not restricted to:
Failing to identify or retrieve the authentication token (or relay access token) from a message header.
The URI of the target service to authorize is in the incorrect format, such as with a hostname that does not conform to DNS naming conventions.
The token does not contain a claim that satisfies the action to be authorized with the service.
The SAML assertion has an incorrect user. Alternatively, the corresponding security token is missing or has a corrupted X.509 certificate.
For more information on setting authorization credentials, see .
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.