UaClient/ServiceModel/Ua/Channels/CommunicationObject.cs
/// <summary>
/// Causes a communication object to transition from its current state into the faulted state.
/// </summary>
/// <param name="exception">The exception.</param>
/// <param name="token">The <see cref="T:System.Threading.CancellationToken" /> that notifies when the task should be canceled.</param>
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
Causes a communication object to transition from its current state into the faulted state.
Causes a communication object to transition from its current state into the faulted state .
protected async Task FaultAsync(Exception exception, CancellationToken token = default(CancellationToken))
        {
            this.AddPendingException(exception);
            await this.FaultAsync(token).ConfigureAwait(false);
        }
protected async Task FaultAsync ( Exception exception , CancellationToken token = default ( CancellationToken ) ) { this . AddPendingException ( exception ) ; await this . FaultAsync ( token ) . ConfigureAwait ( false ) ; }
Causes a communication object to transition from its current state into the faulted state.
Causes a communication object to transition from its current state into the faulted state .
A  representing the asynchronous operation.
A representing the asynchronous operation .
exception
Exception
None
token
CancellationToken
The  that notifies when the task should be canceled.
The that notifies when the task should be canceled .