WorkflowMarkupSourceAttribute(String, String) 建構函式

定義

初始化該類別的新實例WorkflowMarkupSourceAttribute,初始化 與 FileNameMD5Digest值。

public:
 WorkflowMarkupSourceAttribute(System::String ^ fileName, System::String ^ md5Digest);
public WorkflowMarkupSourceAttribute(string fileName, string md5Digest);
new System.Workflow.ComponentModel.Compiler.WorkflowMarkupSourceAttribute : string * string -> System.Workflow.ComponentModel.Compiler.WorkflowMarkupSourceAttribute
Public Sub New (fileName As String, md5Digest As String)

參數

fileName
String

一個包含標記檔案檔檔名稱的字串。

md5Digest
String

一個代表檔案的 MD5Digest 字串。

備註

由於與 MD5 有碰撞問題,Microsoft 建議採用基於 SHA-256 或更完善的安全模型。

適用於