共用方式為


2.2.3.63 Error

The Error element is an optional child element of the Action element and an optional child element of the Response element in Autodiscover command responses. In both contexts, it specifies information about the error that was encountered while processing the request.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Autodiscover command response (section 2.2.1.1)

Action (section 2.2.3.6)

Status (section 2.2.3.177.1)

Message (section 2.2.3.108)

DebugData (section 2.2.3.40)

ErrorCode (section 2.2.3.64)

container ([MS-ASDTYPE] section 2.2)

0...1 (optional)

Autodiscover command response

Response (section 2.2.3.153.1)

ErrorCode

Message

DebugData

container

0...1 (optional)

When the Error element is a child of the Response element, it has two optional attributes as specified in the following table.

Attribute

Value

Time

The value is a string that represents the time of day in that the request that generated the response was submitted. The format of this string follows the Augmented Backus-Naur Form (ABNF) syntax specified below.

Id

The value is an unsigned integer that uniquely identifies the server (within its domain) that generated the response.

The value of the Time attribute is specified here using ABNF syntax, as specified in [RFC5234].

 time_val            = hours ":" minutes ":" seconds ["." fractional_seconds]
  
 hours               = 2*DIGIT  ; 00 - 23, representing a 24-hour clock
 minutes             = 2*DIGIT  ; 00 - 59
 seconds             = 2*DIGIT  ; 00 - 59
 fractional_seconds  = 7*DIGIT  ; fractional seconds, always to 7 decimal places

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes