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.

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.

Inheritance Hierarchy

System.Object
  System.Exception
    Amazon.Runtime.FederatedAuthenticationCancelledException

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

Syntax

C#
public class FederatedAuthenticationCancelledException : Exception
         _Exception, ISerializable

The FederatedAuthenticationCancelledException type exposes the following members

Constructors

NameDescription
Public Method FederatedAuthenticationCancelledException(string)

Initializes a new exception instance.

Public Method FederatedAuthenticationCancelledException(string, 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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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