Langue

AIFunctionNameAttribute Classe

Définition

Spécifie le nom à utiliser pour un 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
Héritage
AIFunctionNameAttribute
Attributs

Remarques

Le nom est l’identificateur qu’un modèle voit et utilise pour appeler une fonction. Par défaut, cela est déduit de .NET métadonnées. Appliquez cet attribut pour utiliser un autre identificateur.

Constructeurs

Nom Description
AIFunctionNameAttribute(String)

Initialise une nouvelle instance de la classe AIFunctionNameAttribute.

Propriétés

Nom Description
Name

Obtient le nom à utiliser pour la fonction.

S’applique à