IActivityFactory Interface

Definition

Represents a class interface of the activity factory.

public interface class IActivityFactory
public interface IActivityFactory
type IActivityFactory = interface
Public Interface IActivityFactory

Properties

CurrentActivityId

Gets the current activity ID.

CurrentClientActivityId

Gets or sets the activity Id for the current client.

CurrentRootActivityId

Gets the current root activity.

Methods

CreateExternalActivity(Guid, RSActivityType, Guid, String)

Creates the external activity with the specified id, type, root and client activity id.

CreateSyncActivity(Guid, RSActivityType, Guid, String)

Gets the sync activity with the specified id, type, root and client activity id.

CreateSyncActivity(RSActivityType)

Creates a sync activity using the specified activity type.

CreateSyncActivityAndReportResult(RSActivityType, Action)

Creates a synchronous activity and report the result.

CreateSyncActivityAndReportResult<T>(RSActivityType, Func<T>)

Creates a synchronous activity and report the result.

SetExternalActivity(Guid, RSActivityType, Guid, String)

Sets the external activity with the specified ID.

Applies to