IHttpTelemetryConsumer.OnRequestFailed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| OnRequestFailed(DateTime) |
Called before OnRequestStop(DateTime) if the request failed. |
| OnRequestFailed(DateTime, String) |
Called before OnRequestStop(DateTime) if the request failed. |
OnRequestFailed(DateTime)
- Source:
- IHttpTelemetryConsumer.cs
- Source:
- IHttpTelemetryConsumer.cs
Called before OnRequestStop(DateTime) if the request failed.
public virtual void OnRequestFailed(DateTime timestamp);
abstract member OnRequestFailed : DateTime -> unit
override this.OnRequestFailed : DateTime -> unit
Public Overridable Sub OnRequestFailed (timestamp As DateTime)
Parameters
- timestamp
- DateTime
Timestamp when the event was fired.
Applies to
OnRequestFailed(DateTime, String)
- Source:
- IHttpTelemetryConsumer.cs
- Source:
- IHttpTelemetryConsumer.cs
Called before OnRequestStop(DateTime) if the request failed.
public virtual void OnRequestFailed(DateTime timestamp, string exceptionMessage);
abstract member OnRequestFailed : DateTime * string -> unit
override this.OnRequestFailed : DateTime * string -> unit
Public Overridable Sub OnRequestFailed (timestamp As DateTime, exceptionMessage As String)
Parameters
- timestamp
- DateTime
Timestamp when the event was fired.
- exceptionMessage
- String
A message that describes the exception associated with this request failure.