RequestHeader Constructor (DocumentType, MethodType)
NOTE: This API is now obsolete.
Initializes a new instance of the RequestHeader class based on the specified document type and action.
Namespace: Microsoft.SharePoint.Dsp
Assembly: Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Sub New ( _
document As DocumentType, _
method As MethodType _
)
'Usage
Dim document As DocumentType
Dim method As MethodType
Dim instance As New RequestHeader(document, _
method)
[ObsoleteAttribute("Use the Lists web service instead.")]
public RequestHeader(
DocumentType document,
MethodType method
)
Parameters
document
Type: Microsoft.SharePoint.Dsp.DocumentTypeA DocumentType value that specifies the document type.
method
Type: Microsoft.SharePoint.Dsp.MethodTypeA MethodType value that specifies the action.