AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  System.Exception
    Amazon.Runtime.CredentialRequestCallbackRequiredException

Namespace: Amazon.Runtime
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public class CredentialRequestCallbackRequiredException : Exception
         _Exception, ISerializable

The CredentialRequestCallbackRequiredException type exposes the following members

Constructors

NameDescription
Public Method CredentialRequestCallbackRequiredException(string)

Initializes a new exception instance.

Public Method CredentialRequestCallbackRequiredException(string, Exception)

Initializes a new exception instance.

Public Method CredentialRequestCallbackRequiredException(Exception)

Initializes a new exception instance.

Properties

NameTypeDescription
Public Property Data System.Collections.IDictionary Inherited from System.Exception.
Public Property HelpLink System.String Inherited from System.Exception.
Public Property HResult System.Int32 Inherited from System.Exception.
Public Property InnerException System.Exception Inherited from System.Exception.
Public Property Message System.String Inherited from System.Exception.
Public Property Source System.String Inherited from System.Exception.
Public Property StackTrace System.String Inherited from System.Exception.
Public Property TargetSite System.Reflection.MethodBase Inherited from System.Exception.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5