SPBandwidthUsageMonitoredScope members

SharePoint 2013

Monitors performance bandwidth usage for a specified section of code.

The SPBandwidthUsageMonitoredScope type exposes the following members.

  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

  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

  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
Show: