Skip to main content

Definition

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

Syntax

Summary

Everything a ServiceProbe learned about one service: the three steps, the parsed model when there was one, the entity set that was sampled, and the overall verdict.

Constructors

.ctor

Initializes a new instance of the ServiceProbeResult class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Challenges

Every WWW-Authenticate value seen on a 401 or 403, metadata first.

Syntax

Property Value

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

Data

Step 2: GET {root}{EntitySet}?$top=1.

Syntax

Property Value

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

EntitySet

The entity set that was sampled, or null when the model declared none.

Syntax

Property Value

Type: string?

EntityType

The qualified name of the type behind ServiceProbeResult.EntitySet, or null.

Syntax

Property Value

Type: string?

Metadata

Step 1: GET {root}$metadata and parse.

Syntax

Property Value

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

Model

The parsed model when step 1 passed, otherwise null.

Syntax

Property Value

Type: Microsoft.OData.Mcp.Core.Models.EdmModel?

Results

Step 3: does the sampled row match the model?

Syntax

Property Value

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

SecuredStatusCode

The HTTP status of the step that refused access, when one did. Used to drive OAuth discovery.

Syntax

Property Value

Type: System.Nullable<int>

ServiceRoot

The normalized service root, always ending in /.

Syntax

Property Value

Type: System.Uri

Verdict

The overall conclusion.

Syntax

Property Value

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

Methods

Decide

Derives the verdict from the three steps.

Syntax

Parameters

Returns

Type: Microsoft.OData.Mcp.Core.Diagnostics.ServiceVerdict The verdict. Security refusals win over reachability, which wins over readability.

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

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?