SPExternalRequestHeaderInfo.Create method

Creates an SPExternalRequestHeaderInfo object using the current state of the request.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function Create As SPExternalRequestHeaderInfo
'Usage
Dim returnValue As SPExternalRequestHeaderInfo

returnValue = SPExternalRequestHeaderInfo.Create()
public static SPExternalRequestHeaderInfo Create()

Return value

Type: Microsoft.SharePoint.SPExternalRequestHeaderInfo
An SPExternalRequestHeaderInfo object with the data mentioned in the remarks.

Remarks

The current state consists of:

  • The current SPMonitorScope.

  • Whether the Developer Dashboard is enabled.

  • The current override level for the Unified Logging Service (ULS).

  • The current ULS correlation.

See also

Reference

SPExternalRequestHeaderInfo class

SPExternalRequestHeaderInfo members

Microsoft.SharePoint namespace