IActivityFactory.CreateSyncActivityAndReportResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a sync activity and report result activity.
Overloads
CreateSyncActivityAndReportResult(RSActivityType, Action) |
Creates a synchronous activity and report the result. |
CreateSyncActivityAndReportResult<T>(RSActivityType, Func<T>) |
Creates a synchronous activity and report the result. |
CreateSyncActivityAndReportResult(RSActivityType, Action)
Creates a synchronous activity and report the result.
public:
void CreateSyncActivityAndReportResult(Microsoft::ReportingServices::Diagnostics::RSActivityType activityType, Action ^ action);
public void CreateSyncActivityAndReportResult (Microsoft.ReportingServices.Diagnostics.RSActivityType activityType, Action action);
abstract member CreateSyncActivityAndReportResult : Microsoft.ReportingServices.Diagnostics.RSActivityType * Action -> unit
Public Sub CreateSyncActivityAndReportResult (activityType As RSActivityType, action As Action)
Parameters
- activityType
- RSActivityType
The activity type.
- action
- Action
The create action.
Applies to
CreateSyncActivityAndReportResult<T>(RSActivityType, Func<T>)
Creates a synchronous activity and report the result.
public:
generic <typename T>
T CreateSyncActivityAndReportResult(Microsoft::ReportingServices::Diagnostics::RSActivityType activityType, Func<T> ^ action);
public T CreateSyncActivityAndReportResult<T> (Microsoft.ReportingServices.Diagnostics.RSActivityType activityType, Func<T> action);
abstract member CreateSyncActivityAndReportResult : Microsoft.ReportingServices.Diagnostics.RSActivityType * Func<'T> -> 'T
Public Function CreateSyncActivityAndReportResult(Of T) (activityType As RSActivityType, action As Func(Of T)) As T
Type Parameters
- T
The type of activity.
Parameters
- activityType
- RSActivityType
The activity type.
- action
- Func<T>
The synchronous action.
Returns
The created activity.