Table of Contents

Class FederatedAuthenticationCancelledException

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

Custom exception type thrown when a role profile with user identity is used in conjunction with a credential request callback. This exception is thrown if the callback returns null, indicating the user declined to supply credentials.

public class FederatedAuthenticationCancelledException : Exception, ISerializable
Inheritance
FederatedAuthenticationCancelledException
Implements
Inherited Members

Constructors

FederatedAuthenticationCancelledException(SerializationInfo, StreamingContext)

Constructs a new instance of the FederatedAuthenticationCancelledException class with serialized data.

protected FederatedAuthenticationCancelledException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is null.

SerializationException

The class name is null or HResult is zero (0).

FederatedAuthenticationCancelledException(string)

Initializes a new exception instance.

public FederatedAuthenticationCancelledException(string msg)

Parameters

msg string

FederatedAuthenticationCancelledException(string, Exception)

Initializes a new exception instance.

public FederatedAuthenticationCancelledException(string msg, Exception inner)

Parameters

msg string
inner Exception