Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Execution Inheritance: System.ObjectSyntax
Summary
Executes OData requests against a remote service using a named HttpClient.Constructors
.ctor
Initializes a new instance of the RemoteODataExecutor class.Syntax
Parameters
.ctor Inherited
Inherited from
objectSyntax
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ExecuteAsync
Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task<Microsoft.OData.Mcp.Core.Execution.ODataExecuteResult>
Remarks
Accept is set per request rather than as a default on the named client, because the same
client also fetches $metadata, which is XML. A JSON default would either draw a 406 or
return JSON CSDL the parser cannot read.
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- Microsoft.OData.Mcp.Core.Execution.IODataExecutor