CorrelationProperty(String, Object) 建構函式

定義

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

public:
 CorrelationProperty(System::String ^ name, System::Object ^ value);
public CorrelationProperty (string name, object value);
new System.Workflow.Runtime.CorrelationProperty : string * obj -> System.Workflow.Runtime.CorrelationProperty
Public Sub New (name As String, value As Object)

參數

name
String

在相互關聯集中使用的屬性名稱。

value
Object

相互關聯集屬性的值。

例外狀況

name 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於