Bewerken

Delen via


ActivityXamlServices.Load Method

Definition

Creates an instance of a declarative workflow.

Overloads

Load(String, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified file.

Load(TextReader, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified text reader.

Load(Stream, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified stream.

Load(XmlReader)

Creates an instance of the declarative workflow described in the specified XML reader.

Load(Stream)

Creates an instance of the declarative workflow described in the specified stream.

Load(String)

Creates an instance of the declarative workflow described in the specified file.

Load(TextReader)

Creates an instance of the declarative workflow described in the specified text reader.

Load(XamlReader, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified XAML reader.

Load(XamlReader)

Creates an instance of the declarative workflow described in the specified XAML reader.

Load(XmlReader, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified XML reader.

Load(String, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified file.

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

Parameters

fileName
String

A file that contains the workflow definition.

settings
ActivityXamlServicesSettings

The XAML service settings.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(TextReader, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified text reader.

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

Parameters

textReader
TextReader

The workflow definition.

settings
ActivityXamlServicesSettings

The XAML service settings.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(Stream, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified stream.

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

Parameters

stream
Stream

The workflow definition.

settings
ActivityXamlServicesSettings

The XAML service settings.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(XmlReader)

Creates an instance of the declarative workflow described in the specified XML reader.

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

Parameters

xmlReader
XmlReader

The workflow definition.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(Stream)

Creates an instance of the declarative workflow described in the specified 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

Parameters

stream
Stream

The workflow definition.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(String)

Creates an instance of the declarative workflow described in the specified file.

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

Parameters

fileName
String

A file that contains the workflow definition.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(TextReader)

Creates an instance of the declarative workflow described in the specified text reader.

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

Parameters

textReader
TextReader

The workflow definition.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(XamlReader, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified XAML reader.

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

Parameters

xamlReader
XamlReader

The workflow definition.

settings
ActivityXamlServicesSettings

The XAML service settings.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(XamlReader)

Creates an instance of the declarative workflow described in the specified XAML reader.

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

Parameters

xamlReader
XamlReader

The workflow definition.

Returns

An instance of the activity tree that describes the workflow.

Applies to

Load(XmlReader, ActivityXamlServicesSettings)

Creates an instance of the declarative workflow described in the specified XML reader.

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

Parameters

xmlReader
XmlReader

The workflow definition.

settings
ActivityXamlServicesSettings

The XAML service settings.

Returns

An instance of the activity tree that describes the workflow.

Applies to