DeploymentRule(String, DeploymentRuleHandler) 建構函式

定義

使用指定的名稱和規則處理常式,初始化部署規則的新實例。

public:
 DeploymentRule(System::String ^ name, Microsoft::Web::Deployment::DeploymentRuleHandler ^ handler);
public DeploymentRule(string name, Microsoft.Web.Deployment.DeploymentRuleHandler handler);
new Microsoft.Web.Deployment.DeploymentRule : string * Microsoft.Web.Deployment.DeploymentRuleHandler -> Microsoft.Web.Deployment.DeploymentRule
Public Sub New (name As String, handler As DeploymentRuleHandler)

參數

name
String

部署規則的名稱。

handler
DeploymentRuleHandler

部署規則處理常式。

適用於