Show / Hide Table of Contents

Class ActivityContext

Inheritance
object
ActivityContext
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Internal.Telemetry.Activity
Assembly: Volo.Abp.Core.dll
Syntax
public class ActivityContext

Properties

Current

Declaration
public ActivityEvent Current { get; }
Property Value
Type Description
ActivityEvent

DeviceId

Declaration
public string? DeviceId { get; }
Property Value
Type Description
string

ExtraProperties

Declaration
public Dictionary<string, object> ExtraProperties { get; }
Property Value
Type Description
Dictionary<string, object>

IsTerminated

Declaration
public bool IsTerminated { get; }
Property Value
Type Description
bool

ProjectId

Declaration
public Guid? ProjectId { get; }
Property Value
Type Description
Guid?

SessionType

Declaration
public SessionType? SessionType { get; }
Property Value
Type Description
SessionType?

SolutionId

Declaration
public Guid? SolutionId { get; }
Property Value
Type Description
Guid?

SolutionPath

Declaration
public string? SolutionPath { get; }
Property Value
Type Description
string

Methods

Create(string, string?, Action<Dictionary<string, object>>?)

Declaration
public static ActivityContext Create(string activityName, string? details = null, Action<Dictionary<string, object>>? additionalProperties = null)
Parameters
Type Name Description
string activityName
string details
Action<Dictionary<string, object>> additionalProperties
Returns
Type Description
ActivityContext

Terminate()

Declaration
public void Terminate()

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform