共用方式為


ErrorType Enumeration

ErrorType describes a particular failure that occurred during DeleteAlerts request processing.

Namespace:  [Alerts Web service]
Web service reference: http://Site/_vti_bin/Alerts.asmx

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration ErrorType
'Usage
Dim instance As ErrorType
[SerializableAttribute]
public enum ErrorType

Members

Member name Description
None Not used.
AccessDenied Authenticated user is not authorized to delete the specified alert subscription.
ServerError Unspecified server error occurred during a DeleteAlerts operation.
TooManyErrors Maximum number of failures occurred while the server was processing a DeleteAlerts request message.

Remarks

The following table defines the allowable values.

Value

Description

None

Not used

AccessDenied

Authenticated user is not authorized to delete the specified alert subscription.

ServerError

Unspecified server error occurred during a DeleteAlerts operation.

TooManyErrors

Maximum number of failures occurred while the server was processing a DeleteAlerts request message.

Examples

<s:simpleType name="ErrorType">

<s:restriction base="s:string">

<s:enumeration value="None"/>

<s:enumeration value="AccessDenied"/>

<s:enumeration value="ServerError"/>

<s:enumeration value="TooManyErrors"/>

</s:restriction>

</s:simpleType>

See Also

Reference

Alerts Web Service