Table of Contents

Class CredentialRequestCallbackRequiredException

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

Exception thrown on validation of a StoredProfileFederatedCredentials instance if the role profile is configured to use a non-default user identity and the QueryUserCredentialCallback on the instance has not been set.

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

Constructors

CredentialRequestCallbackRequiredException(Exception)

Initializes a new exception instance.

public CredentialRequestCallbackRequiredException(Exception innerException)

Parameters

innerException Exception

CredentialRequestCallbackRequiredException(SerializationInfo, StreamingContext)

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

protected CredentialRequestCallbackRequiredException(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).

CredentialRequestCallbackRequiredException(string)

Initializes a new exception instance.

public CredentialRequestCallbackRequiredException(string msg)

Parameters

msg string

CredentialRequestCallbackRequiredException(string, Exception)

Initializes a new exception instance.

public CredentialRequestCallbackRequiredException(string msg, Exception innerException)

Parameters

msg string
innerException Exception