Share via


HttpHandlerAction.Type 屬性

定義

取得或設定 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

屬性值

String

HttpHandlerAction 類型。

屬性

範例

下列程式碼範例示範如何存取 Type 屬性。

// 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"

備註

屬性 Type 是逗號分隔的類別/元件組合,其中包含版本、文化特性和公開金鑰權杖。

注意

ASP.NET 先在應用程式的私用 \bin 目錄中搜尋處理常式元件 DLL,然後在系統組件快取中搜尋。

適用於