Share via


AIFunctionMetadata Constructors

Definition

Overloads

AIFunctionMetadata(AIFunctionMetadata)

Initializes a new instance of the AIFunctionMetadata class as a copy of another AIFunctionMetadata.

AIFunctionMetadata(String)

Initializes a new instance of the AIFunctionMetadata class for a function with the specified name.

AIFunctionMetadata(AIFunctionMetadata)

Initializes a new instance of the AIFunctionMetadata class as a copy of another AIFunctionMetadata.

public:
 AIFunctionMetadata(Microsoft::Extensions::AI::AIFunctionMetadata ^ metadata);
public AIFunctionMetadata (Microsoft.Extensions.AI.AIFunctionMetadata metadata);
new Microsoft.Extensions.AI.AIFunctionMetadata : Microsoft.Extensions.AI.AIFunctionMetadata -> Microsoft.Extensions.AI.AIFunctionMetadata
Public Sub New (metadata As AIFunctionMetadata)

Parameters

Exceptions

The metadata was null.

Remarks

This creates a shallow clone of metadata. The new instance's Parameters and ReturnParameter properties will return the same objects as in the original instance.

Applies to

AIFunctionMetadata(String)

Initializes a new instance of the AIFunctionMetadata class for a function with the specified name.

public:
 AIFunctionMetadata(System::String ^ name);
public AIFunctionMetadata (string name);
new Microsoft.Extensions.AI.AIFunctionMetadata : string -> Microsoft.Extensions.AI.AIFunctionMetadata
Public Sub New (name As String)

Parameters

name
String

The name of the function.

Exceptions

The name was null.

Applies to