C# Class Microsoft.HockeyApp.DataContracts.RequestTelemetry

Encapsulates information about a web request handled by the application.
Inheritance: ITelemetry, ISupportProperties
Afficher le fichier Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Méthodes publiques

Méthode Description
RequestTelemetry ( ) : System

Initializes a new instance of the RequestTelemetry class.

RequestTelemetry ( string name, DateTimeOffset startTime, System.TimeSpan duration, string responseCode, bool success ) : System

Initializes a new instance of the RequestTelemetry class with the given name, startTime, duration, responseCode and success property values.

Private Methods

Méthode Description
ITelemetry ( ) : void

Sanitizes the properties based on constraints.

ValidateDateTimeOffset ( string value ) : DateTimeOffset

Method Details

RequestTelemetry() public méthode

Initializes a new instance of the RequestTelemetry class.
public RequestTelemetry ( ) : System
Résultat System

RequestTelemetry() public méthode

Initializes a new instance of the RequestTelemetry class with the given name, startTime, duration, responseCode and success property values.
public RequestTelemetry ( string name, DateTimeOffset startTime, System.TimeSpan duration, string responseCode, bool success ) : System
name string
startTime DateTimeOffset
duration System.TimeSpan
responseCode string
success bool
Résultat System