共用方式為


ExtendedProtectionPolicyElement 建構函式

定義

初始化 ExtendedProtectionPolicyElement 類別的新執行個體。

public:
 ExtendedProtectionPolicyElement();
public ExtendedProtectionPolicyElement ();
Public Sub New ()

備註

當這個建構函式用來初始化 類別的新實例 ExtendedProtectionPolicyElement 時, PolicyEnforcement 屬性會設定 Never 為 、 ProtectionScenario 屬性設定為 ,而 ServiceNameElementCollection 屬性會設定 TransportSelectednull

在呼叫 BuildPolicy 方法之前,類別實例上的 ExtendedProtectionPolicyElement 屬性應該設定為應用程式的適當值。

適用於