Bagikan melalui


HttpHandlerAction.Type Properti

Definisi

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.

Berlaku untuk