Share via


Response.ErrorCode Property

NOTE: This API is now obsolete.

Gets or sets an error message for the response.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Property ErrorCode As String
    Get
    Set
'Usage
Dim instance As Response
Dim value As String

value = instance.ErrorCode

instance.ErrorCode = value
[ObsoleteAttribute("Use the Lists web service instead.")]
public string ErrorCode { get; set; }

Property Value

Type: System.String
A string that contains the error message.

See Also

Reference

Response Class

Response Members

Microsoft.SharePoint.Dsp Namespace