AIFunctionNameAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
- 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. |