public void BeginGetRequestStream(object id, string uri, bool success, bool synchronous) { if (base.IsEnabled()) { this.GetRequestStreamStart(FrameworkEventSource.IdForObject(id), uri, success, synchronous); } }
public void EndGetRequestStream(object id, bool success, bool synchronous) { if (base.IsEnabled()) { this.GetRequestStreamStop(FrameworkEventSource.IdForObject(id), success, synchronous); } }
public void EndGetResponse(object id, bool success, bool synchronous, int statusCode) { if (base.IsEnabled()) { this.GetResponseStop(FrameworkEventSource.IdForObject(id), success, synchronous, statusCode); } }
public void BeginGetResponse(object id, string uri, bool success, bool synchronous) { if (!this.IsEnabled()) { return; } this.GetResponseStart(FrameworkEventSource.IdForObject(id), uri, success, synchronous); }