Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Diagnostics Inheritance: System.Object

Syntax

Summary

One step of a ServiceProbe: what was tried, how it ended, and what the service said.

Constructors

.ctor

Initializes a new instance of the ProbeStep class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Challenges

Every WWW-Authenticate value the response carried. Empty unless the outcome is ProbeOutcome.Unauthorized or ProbeOutcome.Forbidden.

Syntax

Property Value

Type: System.Collections.Generic.IReadOnlyList<string>

Detail

One line a person can read, for example Categories?$top=1 → 200.

Syntax

Property Value

Type: string

Outcome

The outcome.

Syntax

Property Value

Type: Microsoft.OData.Mcp.Core.Diagnostics.ProbeOutcome

StatusCode

The HTTP status code when a response was received, otherwise null.

Syntax

Property Value

Type: System.Nullable<int>

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

IsSecured

Whether the step ended with an authentication or authorization refusal.

Syntax

Returns

Type: bool true for ProbeOutcome.Unauthorized and ProbeOutcome.Forbidden.

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Override

Syntax

Returns

Type: string

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?