C# Class TimeoutHandlerSample.MessageHandlers.DotNet4TimeoutHandler

Inheritance: System.Net.Http.DelegatingHandler
Afficher le fichier Open project: tugberkugurlu/ProWebAPI.Samples

Méthodes publiques

Méthode Description
DotNet4TimeoutHandler ( int milliseconds ) : System

Méthodes protégées

Méthode Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
TimerCallbackLogic ( object obj ) : void

Method Details

DotNet4TimeoutHandler() public méthode

public DotNet4TimeoutHandler ( int milliseconds ) : System
milliseconds int
Résultat System

SendAsync() protected méthode

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
Résultat Task