AIFunctionNameAttribute(String) Constructor

Definition

Initializes a new instance of the AIFunctionNameAttribute class.

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

Parameters

name
String

The name to use for the function.

Exceptions

name is null.

name is empty or composed entirely of whitespace.

Applies to