ExternalDataExchangeService 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ExternalDataExchangeService 類別的新執行個體。
多載
ExternalDataExchangeService()
初始化 ExternalDataExchangeService 類別的新執行個體。
public:
ExternalDataExchangeService();
public ExternalDataExchangeService ();
Public Sub New ()
範例
下列範例示範如何建立 ExternalDataExchangeService 類別的執行個體。 這個範例來自<訂購狀態機器 SDK>範例。 如需詳細資訊,請參閱 排序狀態機器範例。
string IWorkflowCompilerOptionsService.RootNamespace
{
get
{
return string.Empty;
}
}
Public ReadOnly Property RootNamespace() As String Implements IWorkflowCompilerOptionsService.RootNamespace
Get
Return String.Empty
End Get
End Property
適用於
ExternalDataExchangeService(NameValueCollection)
初始化 ExternalDataExchangeService 類別的新執行個體。
public:
ExternalDataExchangeService(System::Collections::Specialized::NameValueCollection ^ parameters);
public ExternalDataExchangeService (System.Collections.Specialized.NameValueCollection parameters);
new System.Workflow.Activities.ExternalDataExchangeService : System.Collections.Specialized.NameValueCollection -> System.Workflow.Activities.ExternalDataExchangeService
Public Sub New (parameters As NameValueCollection)
參數
- parameters
- NameValueCollection
用於設定服務的參數集合。 允許的值是空集合,或是只包含 ConfigurationSection
索引鍵的集合。
適用於
ExternalDataExchangeService(String)
初始化 ExternalDataExchangeService 類別的新執行個體。
public:
ExternalDataExchangeService(System::String ^ configSectionName);
public ExternalDataExchangeService (string configSectionName);
new System.Workflow.Activities.ExternalDataExchangeService : string -> System.Workflow.Activities.ExternalDataExchangeService
Public Sub New (configSectionName As String)
參數
- configSectionName
- String
組態區段的名稱,其中包含這個服務需要的組態。
適用於
ExternalDataExchangeService(ExternalDataExchangeServiceSection)
初始化 ExternalDataExchangeService 類別的新執行個體。
public:
ExternalDataExchangeService(System::Workflow::Activities::ExternalDataExchangeServiceSection ^ settings);
public ExternalDataExchangeService (System.Workflow.Activities.ExternalDataExchangeServiceSection settings);
new System.Workflow.Activities.ExternalDataExchangeService : System.Workflow.Activities.ExternalDataExchangeServiceSection -> System.Workflow.Activities.ExternalDataExchangeService
Public Sub New (settings As ExternalDataExchangeServiceSection)
參數
- settings
- ExternalDataExchangeServiceSection
組態區段,其中包含這個服務的設定。