共用方式為


ActivityXamlServices.Load 方法

定義

建立宣告式工作流程的執行個體。

多載

Load(String, ActivityXamlServicesSettings)

建立指定檔案中描述之宣告式工作流程的執行個體。

Load(TextReader, ActivityXamlServicesSettings)

建立指定文字讀取器中描述之宣告式工作流程的執行個體。

Load(Stream, ActivityXamlServicesSettings)

建立指定資料流中描述之宣告式工作流程的執行個體。

Load(XmlReader)

建立指定 XML 讀取器中描述之宣告式工作流程的執行個體。

Load(Stream)

建立指定資料流中描述之宣告式工作流程的執行個體。

Load(String)

建立指定檔案中描述之宣告式工作流程的執行個體。

Load(TextReader)

建立指定文字讀取器中描述之宣告式工作流程的執行個體。

Load(XamlReader, ActivityXamlServicesSettings)

建立指定 XAML 讀取器中描述之宣告式工作流程的執行個體。

Load(XamlReader)

建立指定 XAML 讀取器中描述之宣告式工作流程的執行個體。

Load(XmlReader, ActivityXamlServicesSettings)

建立指定 XML 讀取器中描述之宣告式工作流程的執行個體。

Load(String, ActivityXamlServicesSettings)

建立指定檔案中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::String ^ fileName, System::Activities::XamlIntegration::ActivityXamlServicesSettings ^ settings);
public static System.Activities.Activity Load (string fileName, System.Activities.XamlIntegration.ActivityXamlServicesSettings settings);
static member Load : string * System.Activities.XamlIntegration.ActivityXamlServicesSettings -> System.Activities.Activity
Public Shared Function Load (fileName As String, settings As ActivityXamlServicesSettings) As Activity

參數

fileName
String

包含工作流程定義的檔案。

settings
ActivityXamlServicesSettings

XAML 服務設定。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(TextReader, ActivityXamlServicesSettings)

建立指定文字讀取器中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::IO::TextReader ^ textReader, System::Activities::XamlIntegration::ActivityXamlServicesSettings ^ settings);
public static System.Activities.Activity Load (System.IO.TextReader textReader, System.Activities.XamlIntegration.ActivityXamlServicesSettings settings);
static member Load : System.IO.TextReader * System.Activities.XamlIntegration.ActivityXamlServicesSettings -> System.Activities.Activity
Public Shared Function Load (textReader As TextReader, settings As ActivityXamlServicesSettings) As Activity

參數

textReader
TextReader

工作流程定義。

settings
ActivityXamlServicesSettings

XAML 服務設定。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(Stream, ActivityXamlServicesSettings)

建立指定資料流中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::IO::Stream ^ stream, System::Activities::XamlIntegration::ActivityXamlServicesSettings ^ settings);
public static System.Activities.Activity Load (System.IO.Stream stream, System.Activities.XamlIntegration.ActivityXamlServicesSettings settings);
static member Load : System.IO.Stream * System.Activities.XamlIntegration.ActivityXamlServicesSettings -> System.Activities.Activity
Public Shared Function Load (stream As Stream, settings As ActivityXamlServicesSettings) As Activity

參數

stream
Stream

工作流程定義。

settings
ActivityXamlServicesSettings

XAML 服務設定。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(XmlReader)

建立指定 XML 讀取器中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::Xml::XmlReader ^ xmlReader);
public static System.Activities.Activity Load (System.Xml.XmlReader xmlReader);
static member Load : System.Xml.XmlReader -> System.Activities.Activity
Public Shared Function Load (xmlReader As XmlReader) As Activity

參數

xmlReader
XmlReader

工作流程定義。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(Stream)

建立指定資料流中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::IO::Stream ^ stream);
public static System.Activities.Activity Load (System.IO.Stream stream);
static member Load : System.IO.Stream -> System.Activities.Activity
Public Shared Function Load (stream As Stream) As Activity

參數

stream
Stream

工作流程定義。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(String)

建立指定檔案中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::String ^ fileName);
public static System.Activities.Activity Load (string fileName);
static member Load : string -> System.Activities.Activity
Public Shared Function Load (fileName As String) As Activity

參數

fileName
String

包含工作流程定義的檔案。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(TextReader)

建立指定文字讀取器中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::IO::TextReader ^ textReader);
public static System.Activities.Activity Load (System.IO.TextReader textReader);
static member Load : System.IO.TextReader -> System.Activities.Activity
Public Shared Function Load (textReader As TextReader) As Activity

參數

textReader
TextReader

工作流程定義。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(XamlReader, ActivityXamlServicesSettings)

建立指定 XAML 讀取器中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::Xaml::XamlReader ^ xamlReader, System::Activities::XamlIntegration::ActivityXamlServicesSettings ^ settings);
public static System.Activities.Activity Load (System.Xaml.XamlReader xamlReader, System.Activities.XamlIntegration.ActivityXamlServicesSettings settings);
static member Load : System.Xaml.XamlReader * System.Activities.XamlIntegration.ActivityXamlServicesSettings -> System.Activities.Activity
Public Shared Function Load (xamlReader As XamlReader, settings As ActivityXamlServicesSettings) As Activity

參數

xamlReader
XamlReader

工作流程定義。

settings
ActivityXamlServicesSettings

XAML 服務設定。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(XamlReader)

建立指定 XAML 讀取器中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::Xaml::XamlReader ^ xamlReader);
public static System.Activities.Activity Load (System.Xaml.XamlReader xamlReader);
static member Load : System.Xaml.XamlReader -> System.Activities.Activity
Public Shared Function Load (xamlReader As XamlReader) As Activity

參數

xamlReader
XamlReader

工作流程定義。

傳回

描述工作流程之活動樹狀的執行個體。

適用於

Load(XmlReader, ActivityXamlServicesSettings)

建立指定 XML 讀取器中描述之宣告式工作流程的執行個體。

public:
 static System::Activities::Activity ^ Load(System::Xml::XmlReader ^ xmlReader, System::Activities::XamlIntegration::ActivityXamlServicesSettings ^ settings);
public static System.Activities.Activity Load (System.Xml.XmlReader xmlReader, System.Activities.XamlIntegration.ActivityXamlServicesSettings settings);
static member Load : System.Xml.XmlReader * System.Activities.XamlIntegration.ActivityXamlServicesSettings -> System.Activities.Activity
Public Shared Function Load (xmlReader As XmlReader, settings As ActivityXamlServicesSettings) As Activity

參數

xmlReader
XmlReader

工作流程定義。

settings
ActivityXamlServicesSettings

XAML 服務設定。

傳回

描述工作流程之活動樹狀的執行個體。

適用於