Språk

AIFunctionNameAttribute Klass

Definition

Anger namnet som ska användas för en AIFunction.

public ref class AIFunctionNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class AIFunctionNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class AIFunctionNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type AIFunctionNameAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type AIFunctionNameAttribute = class
    inherit Attribute
Public NotInheritable Class AIFunctionNameAttribute
Inherits Attribute
Arv
AIFunctionNameAttribute
Attribut

Kommentarer

Namnet är identifieraren som en modell ser och använder för att anropa en funktion. Som standard härleds detta från .NET metadata. Använd det här attributet om du vill använda en annan identifierare.

Konstruktorer

Name Description
AIFunctionNameAttribute(String)

Initierar en ny instans av AIFunctionNameAttribute klassen.

Egenskaper

Name Description
Name

Hämtar namnet som ska användas för funktionen.

Gäller för