Bahasa

AIFunctionNameAttribute Kelas

Definisi

Menentukan nama yang akan digunakan untuk 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
Warisan
AIFunctionNameAttribute
Atribut

Keterangan

Nama adalah pengidentifikasi yang dilihat dan digunakan model untuk memanggil fungsi. Secara default ini disimpulkan dari metadata .NET. Terapkan atribut ini untuk menggunakan pengidentifikasi yang berbeda.

Konstruktor

Nama Deskripsi
AIFunctionNameAttribute(String)

Menginisialisasi instans baru dari kelas AIFunctionNameAttribute.

Properti

Nama Deskripsi
Name

Mendapatkan nama yang akan digunakan untuk fungsi tersebut.

Berlaku untuk