Class Activity
Inheritance
System.Object
Activity
Assembly: IronZip.dll
Syntax
public class Activity : Object
Constructors
Activity(String)
Declaration
public Activity(string operationName)
Parameters
| Type |
Name |
Description |
| System.String |
operationName |
|
Properties
Baggage
Declaration
public IEnumerable<KeyValuePair<string, string>> Baggage { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
|
Current
Declaration
public static Activity Current { get; }
Property Value
Duration
Declaration
public TimeSpan Duration { get; }
Property Value
| Type |
Description |
| System.TimeSpan |
|
Id
Declaration
public string Id { get; }
Property Value
| Type |
Description |
| System.String |
|
OperationName
Declaration
public string OperationName { get; }
Property Value
| Type |
Description |
| System.String |
|
Parent
Declaration
public Activity Parent { get; }
Property Value
ParentId
Declaration
public string ParentId { get; }
Property Value
| Type |
Description |
| System.String |
|
RootId
Declaration
public string RootId { get; }
Property Value
| Type |
Description |
| System.String |
|
StartTimeUtc
Declaration
public DateTime StartTimeUtc { get; }
Property Value
| Type |
Description |
| System.DateTime |
|
Declaration
public IEnumerable<KeyValuePair<string, string>> Tags { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
|
Methods
AddBaggage(String, String)
Declaration
public Activity AddBaggage(string key, string value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.String |
value |
|
Returns
AddTag(String, String)
Declaration
public Activity AddTag(string key, string value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.String |
value |
|
Returns
GetBaggageItem(String)
Declaration
public string GetBaggageItem(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Returns
| Type |
Description |
| System.String |
|
SetEndTime(DateTime)
Declaration
public Activity SetEndTime(DateTime endTimeUtc)
Parameters
| Type |
Name |
Description |
| System.DateTime |
endTimeUtc |
|
Returns
SetParentId(String)
Declaration
public Activity SetParentId(string parentId)
Parameters
| Type |
Name |
Description |
| System.String |
parentId |
|
Returns
SetStartTime(DateTime)
Declaration
public Activity SetStartTime(DateTime startTimeUtc)
Parameters
| Type |
Name |
Description |
| System.DateTime |
startTimeUtc |
|
Returns
Start()
Declaration
Returns
Stop()
Declaration