GetElapsedTime Class
An activity to calculated the elapsed time between two input DateTimes.
Namespace: Microsoft.Activities.Expressions
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Inheritance Hierarchy
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity<TResult>
System.Activities.CodeActivity<TResult>
Microsoft.Activities.Expressions.GetElapsedTime
Syntax
public sealed class GetElapsedTime : CodeActivity<TimeSpan>
public ref class GetElapsedTime sealed : CodeActivity<TimeSpan>
[<Sealed>]
type GetElapsedTime =
class
inherit CodeActivity<TimeSpan>
end
Public NotInheritable Class GetElapsedTime
Inherits CodeActivity(Of TimeSpan)
Constructors
Name | Description | |
---|---|---|
GetElapsedTime() | Initializes a new instance of the GetElapsedTime class. |
|
GetElapsedTime(InArgument<DateTime>, InArgument<DateTime>) | Initializes a new instance of the GetElapsedTime class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
DisplayName | (Inherited from Activity.) |
|
End | Gets or sets the end date and time. |
|
Id | (Inherited from Activity.) |
|
ImplementationVersion | (Inherited from CodeActivity<TResult>.) |
|
Result | (Inherited from Activity<TResult>.) |
|
ResultType | (Inherited from ActivityWithResult.) |
|
Start | Gets or sets the start date and time. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Activity.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Activities.Expressions Namespace
Return to top