Definition
Assembly: Microsoft.OData.Mcp.Tools.dll Namespace: Microsoft.OData.Mcp.Tools.Hosting Inheritance: System.ObjectSyntax
Summary
Local-only control-plane tool that cancels the host lifetime after an optional delay.Constructors
.ctor
Initializes a new instance of the ShutdownServerTool 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
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
InvokeAsync
Acknowledges shutdown and cancels the host after delaySeconds.Syntax
Parameters
Returns
Type:System.Threading.Tasks.Task<string>
JSON acknowledgement text.
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?