AIFunctionNameAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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. |