HttpHandlerAction.Type 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 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
屬性值
- 屬性
範例
以下程式碼範例說明如何存取該 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,然後再在系統組裝快取中搜尋。