初始化 FeatureAvailableEventArgs 類別的新執行個體。
命名空間: Microsoft.Windows.Design.Features
組件: Microsoft.Windows.Design.Extensibility (在 Microsoft.Windows.Design.Extensibility.dll 中)
語法
'宣告
Public Sub New ( _
featureProviderType As Type _
)
public FeatureAvailableEventArgs(
Type featureProviderType
)
public:
FeatureAvailableEventArgs(
Type^ featureProviderType
)
new :
featureProviderType:Type -> FeatureAvailableEventArgs
public function FeatureAvailableEventArgs(
featureProviderType : Type
)
參數
- featureProviderType
型別:System.Type
目前可供建立之功能提供者的型別。
例外狀況
| 例外狀況 | 條件 |
|---|---|
| ArgumentNullException | featureProviderType 為 nullNull 參照 (即 Visual Basic 中的 Nothing)。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Features 命名空間
FeatureConnector<TFeatureProviderType>