SPBandwidthUsageMonitoredScope members

Monitors performance bandwidth usage for a specified section of code.

The SPBandwidthUsageMonitoredScope type exposes the following members.

Constructors

  Name Description
Public method SPBandwidthUsageMonitoredScope(SPBandwidthUserComponentId, SPBandwidthAccessType, String) Initializes a new instance of an SPBandwidthUsageMonitoredScope class based on the component ID and access type for the referenced URL.
Public method SPBandwidthUsageMonitoredScope(SPBandwidthUserComponentId, SPBandwidthAccessType, String, Guid) Initializes a new instance of an SPBandwidthUsageMonitoredScope class based on the specified component ID, access type, and product ID, and the referenced URL.

Top

Properties

  Name Description
Public property RequestContentLen Gets or sets the request content length.
Public property ResponseContentLen Gets or sets the response content length.
Public property Result Gets or sets the HTTP operation result (-1 for time-out).

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDisposing Occurs when scope is being disposed. (Overrides SPResourceBudget.OnDisposing().)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPBandwidthUsageMonitoredScope class

Microsoft.SharePoint.Administration namespace