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 服务设置。

返回

描述工作流的活动树的实例。

适用于