共用方式為


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

屬性值

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,然後再在系統組裝快取中搜尋。

適用於