FailoverChatClientAttempt.Exception Property

Definition

Gets the exception observed while invoking or disposing the client, if any.

public:
 property Exception ^ Exception { Exception ^ get(); };
public Exception? Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception

Property Value

Remarks

If invocation and disposal both throw, this contains the disposal exception.

A null value does not necessarily indicate success; inspect ResponseCompleted to distinguish a completed response from a streaming response that the caller stopped consuming.

Applies to