WebJobsAuthenticationEventRequestBase.Failed(Exception) Method

Definition

Set the response to Failed mode.

public abstract Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents.WebJobsAuthenticationEventResponse Failed (Exception exception);
abstract member Failed : Exception -> Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents.WebJobsAuthenticationEventResponse
Public MustOverride Function Failed (exception As Exception) As WebJobsAuthenticationEventResponse

Parameters

exception
Exception

The exception to return in the response.

Returns

The Underlying AuthEventResponse.

Applies to