HttpHandlerAction.Type Properti
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.
Mendapatkan atau mengatur jenisnya HttpHandlerAction .
public:
property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("type", IsRequired=true)]
public string Type { get; set; }
[<System.Configuration.ConfigurationProperty("type", IsRequired=true)>]
member this.Type : string with get, set
Public Property Type As String
Nilai Properti
Jenisnya HttpHandlerAction .
- Atribut
Contoh
Contoh kode berikut menunjukkan cara mengakses Type properti.
// Change the Type for the HttpHandlerAction.
httpHandler.Type =
"Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler";
' Change the Type for the HttpHandlerAction.
httpHandler.Type = _
"Samples.Aspnet.SystemWebConfiguration.Calculator, CalculatorHandler"
Keterangan
Properti Type ini adalah kombinasi kelas/perakitan yang dipisahkan koma yang terdiri dari token versi, budaya, dan kunci publik.
Nota
ASP.NET mencari DLL perakitan handler di direktori \bin privat aplikasi terlebih dahulu, lalu mencari di cache perakitan sistem.