Class
OpenAIUserCanceledLoginException
Exception thrown when a user explicitly cancels an interactive login flow.
Inheritance
- OperationCanceledException
- OpenAIUserCanceledLoginException
Constructors
OpenAIUserCanceledLoginException 3 overloads
public OpenAIUserCanceledLoginException() #Initializes a new instance with the default message.
public OpenAIUserCanceledLoginException(String message) #Initializes a new instance with a custom message.
Parameters
- message System.String
public OpenAIUserCanceledLoginException(String message, Exception innerException) #Initializes a new instance with a custom message and inner exception.
Parameters
- message System.String
- innerException System.Exception
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public override Void GetObjectData(SerializationInfo info, StreamingContext context) #Returns:
VoidInherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Inherited Properties
public CancellationToken CancellationToken { get; } #Inherited from OperationCanceledException
public MethodBase TargetSite { get; } #Inherited from Exception
public override String Message { get; } #Inherited from Exception
public override IDictionary Data { get; } #Inherited from Exception
public Exception InnerException { get; } #Inherited from Exception
public override String HelpLink { get; set; } #Inherited from Exception
public override String Source { get; set; } #Inherited from Exception
public Int32 HResult { get; set; } #Inherited from Exception
public override String StackTrace { get; } #Inherited from Exception
Fields
public const String DefaultMessage #Default error message used when the user cancels login.
Value:
Login canceled by user.