Lenguaje

AIFunctionNameAttribute Clase

Definición

Especifica el nombre que se va a usar para un AIFunctionobjeto .

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
Herencia
AIFunctionNameAttribute
Atributos

Comentarios

El nombre es el identificador que ve un modelo y usa para invocar una función. De forma predeterminada, esto se deduce de .NET metadatos. Aplique este atributo para usar un identificador diferente.

Constructores

Nombre Description
AIFunctionNameAttribute(String)

Inicializa una nueva instancia de la clase AIFunctionNameAttribute.

Propiedades

Nombre Description
Name

Obtiene el nombre que se va a usar para la función .

Se aplica a