AIFunctionNameAttribute Classe
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Especifica o nome a usar para um 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
- Herança
- Atributos
Observações
O nome é o identificador que um modelo vê e usa para invocar uma função. Por defeito, isto é inferido a partir dos metadados .NET. Aplique este atributo para usar um identificador diferente.
Construtores
| Name | Descrição |
|---|---|
| AIFunctionNameAttribute(String) |
Inicializa uma nova instância da AIFunctionNameAttribute classe. |
Propriedades
| Name | Descrição |
|---|---|
| Name |
Recebe o nome para a função. |