public class Activity extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.Activity
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Diagnostics.DiagnosticSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.DiagnosticSource
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.Activity
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Activity() |
Activity(java.lang.Object instance)
Internal constructor.
|
Activity(java.lang.String operationName)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Activity |
AddBaggage(java.lang.String key,
java.lang.String value)
Invokes the .NET member AddBaggage.
|
Activity |
AddEvent(ActivityEvent e)
Invokes the .NET member AddEvent.
|
Activity |
AddException(NetException exception,
JCORefOut<TagList> tags,
DateTimeOffset timestamp)
Invokes the .NET member AddException.
|
Activity |
AddLink(ActivityLink link)
Invokes the .NET member AddLink.
|
Activity |
AddTag(java.lang.String key,
NetObject value)
Invokes the .NET member AddTag.
|
Activity |
AddTag(java.lang.String key,
java.lang.String value)
Invokes the .NET member AddTag.
|
static Activity |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Activity, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose()
Invokes the .NET member Dispose.
|
ActivityTraceFlags |
getActivityTraceFlags()
Gets the value of the .NET property ActivityTraceFlags.
|
IEnumerable_1 |
getBaggage()
Gets the value of the .NET property Baggage.
|
java.lang.String |
GetBaggageItem(java.lang.String key)
Invokes the .NET member GetBaggageItem.
|
ActivityContext |
getContext()
Gets the value of the .NET property Context.
|
static Activity |
getCurrent()
Gets the value of the .NET property Current.
|
NetObject |
GetCustomProperty(java.lang.String propertyName)
Invokes the .NET member GetCustomProperty.
|
static ActivityIdFormat |
getDefaultIdFormat()
Gets the value of the .NET property DefaultIdFormat.
|
java.lang.String |
getDisplayName()
Gets the value of the .NET property DisplayName.
|
TimeSpan |
getDuration()
Gets the value of the .NET property Duration.
|
IEnumerable_1 |
getEvents()
Gets the value of the .NET property Events.
|
static boolean |
getForceDefaultIdFormat()
Gets the value of the .NET property ForceDefaultIdFormat.
|
boolean |
getHasRemoteParent()
Gets the value of the .NET property HasRemoteParent.
|
java.lang.String |
getId()
Gets the value of the .NET property Id.
|
ActivityIdFormat |
getIdFormat()
Gets the value of the .NET property IdFormat.
|
boolean |
getIsAllDataRequested()
Gets the value of the .NET property IsAllDataRequested.
|
boolean |
getIsStopped()
Gets the value of the .NET property IsStopped.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
ActivityKind |
getKind()
Gets the value of the .NET property Kind.
|
IEnumerable_1 |
getLinks()
Gets the value of the .NET property Links.
|
java.lang.String |
getOperationName()
Gets the value of the .NET property OperationName.
|
Activity |
getParent()
Gets the value of the .NET property Parent.
|
java.lang.String |
getParentId()
Gets the value of the .NET property ParentId.
|
ActivitySpanId |
getParentSpanId()
Gets the value of the .NET property ParentSpanId.
|
boolean |
getRecorded()
Gets the value of the .NET property Recorded.
|
java.lang.String |
getRootId()
Gets the value of the .NET property RootId.
|
ActivitySource |
getSource()
Gets the value of the .NET property Source.
|
ActivitySpanId |
getSpanId()
Gets the value of the .NET property SpanId.
|
DateTime |
getStartTimeUtc()
Gets the value of the .NET property StartTimeUtc.
|
ActivityStatusCode |
getStatus()
Gets the value of the .NET property Status.
|
java.lang.String |
getStatusDescription()
Gets the value of the .NET property StatusDescription.
|
NetObject |
GetTagItem(java.lang.String key)
Invokes the .NET member GetTagItem.
|
IEnumerable_1 |
getTagObjects()
Gets the value of the .NET property TagObjects.
|
IEnumerable_1 |
getTags()
Gets the value of the .NET property Tags.
|
ActivityTraceId |
getTraceId()
Gets the value of the .NET property TraceId.
|
static Func_1 |
getTraceIdGenerator()
Gets the value of the .NET property TraceIdGenerator.
|
java.lang.String |
getTraceStateString()
Gets the value of the .NET property TraceStateString.
|
void |
setActivityTraceFlags(ActivityTraceFlags ActivityTraceFlags)
Sets the value of the .NET property ActivityTraceFlags.
|
Activity |
SetBaggage(java.lang.String key,
java.lang.String value)
Invokes the .NET member SetBaggage.
|
static void |
setCurrent(Activity Current)
Sets the value of the .NET property Current.
|
void |
SetCustomProperty(java.lang.String propertyName,
NetObject propertyValue)
Invokes the .NET member SetCustomProperty.
|
static void |
setDefaultIdFormat(ActivityIdFormat DefaultIdFormat)
Sets the value of the .NET property DefaultIdFormat.
|
void |
setDisplayName(java.lang.String DisplayName)
Sets the value of the .NET property DisplayName.
|
void |
setDuration(TimeSpan Duration)
Sets the value of the .NET property Duration.
|
Activity |
SetEndTime(DateTime endTimeUtc)
Invokes the .NET member SetEndTime.
|
static void |
setForceDefaultIdFormat(boolean ForceDefaultIdFormat)
Sets the value of the .NET property ForceDefaultIdFormat.
|
void |
setHasRemoteParent(boolean HasRemoteParent)
Sets the value of the .NET property HasRemoteParent.
|
void |
setIdFormat(ActivityIdFormat IdFormat)
Sets the value of the .NET property IdFormat.
|
Activity |
SetIdFormat(ActivityIdFormat format)
Invokes the .NET member SetIdFormat.
|
void |
setIsAllDataRequested(boolean IsAllDataRequested)
Sets the value of the .NET property IsAllDataRequested.
|
void |
setIsStopped(boolean IsStopped)
Sets the value of the .NET property IsStopped.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setKind(ActivityKind Kind)
Sets the value of the .NET property Kind.
|
void |
setParent(Activity Parent)
Sets the value of the .NET property Parent.
|
Activity |
SetParentId(ActivityTraceId traceId,
ActivitySpanId spanId,
ActivityTraceFlags activityTraceFlags)
Invokes the .NET member SetParentId.
|
Activity |
SetParentId(java.lang.String parentId)
Invokes the .NET member SetParentId.
|
void |
setSource(ActivitySource Source)
Sets the value of the .NET property Source.
|
Activity |
SetStartTime(DateTime startTimeUtc)
Invokes the .NET member SetStartTime.
|
void |
setStartTimeUtc(DateTime StartTimeUtc)
Sets the value of the .NET property StartTimeUtc.
|
Activity |
SetStatus(ActivityStatusCode code,
java.lang.String description)
Invokes the .NET member SetStatus.
|
Activity |
SetTag(java.lang.String key,
NetObject value)
Invokes the .NET member SetTag.
|
static void |
setTraceIdGenerator(Func_1 TraceIdGenerator)
Sets the value of the .NET property TraceIdGenerator.
|
void |
setTraceStateString(java.lang.String TraceStateString)
Sets the value of the .NET property TraceStateString.
|
Activity |
Start()
Invokes the .NET member Start.
|
void |
Stop()
Invokes the .NET member Stop.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Activity()
throws java.lang.Throwable
java.lang.Throwablepublic Activity(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic Activity(java.lang.String operationName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
operationName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Activity AddBaggage(java.lang.String key, java.lang.String value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
key - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Activity AddEvent(ActivityEvent e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
e - the argument of type ActivityEventjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Activity AddException(NetException exception, JCORefOut<TagList> tags, DateTimeOffset timestamp) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException
exception - the argument of type NetExceptiontags - the argument of type JCORefOut<TagList>timestamp - the argument of type DateTimeOffsetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Activity AddLink(ActivityLink link) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
link - the argument of type ActivityLinkjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Activity AddTag(java.lang.String key, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
key - the argument of type java.lang.Stringvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Activity AddTag(java.lang.String key, java.lang.String value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException
key - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static Activity cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Activity, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedActivity instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ActivityTraceFlags getActivityTraceFlags() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic IEnumerable_1 getBaggage() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetBaggageItem(java.lang.String key)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
key - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic ActivityContext getContext() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static Activity getCurrent() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetCustomProperty(java.lang.String propertyName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
propertyName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static ActivityIdFormat getDefaultIdFormat() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDisplayName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TimeSpan getDuration() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 getEvents() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean getForceDefaultIdFormat()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasRemoteParent()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getId()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic ActivityIdFormat getIdFormat() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsAllDataRequested()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsStopped()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic ActivityKind getKind() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 getLinks() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getOperationName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity getParent() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getParentId()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic ActivitySpanId getParentSpanId() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic boolean getRecorded()
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String getRootId()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic ActivitySource getSource() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ActivitySpanId getSpanId() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic DateTime getStartTimeUtc() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ActivityStatusCode getStatus() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getStatusDescription()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetTagItem(java.lang.String key) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException
key - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic IEnumerable_1 getTagObjects() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 getTags() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ActivityTraceId getTraceId() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Func_1 getTraceIdGenerator() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getTraceStateString()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setActivityTraceFlags(ActivityTraceFlags ActivityTraceFlags) throws java.lang.Throwable
ActivityTraceFlags - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetBaggage(java.lang.String key, java.lang.String value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
key - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static void setCurrent(Activity Current) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException
Current - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void SetCustomProperty(java.lang.String propertyName,
NetObject propertyValue)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
NullReferenceException,
ArgumentNullException,
OutOfMemoryException
propertyName - the argument of type java.lang.StringpropertyValue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static void setDefaultIdFormat(ActivityIdFormat DefaultIdFormat) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
DefaultIdFormat - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setDisplayName(java.lang.String DisplayName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
DisplayName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setDuration(TimeSpan Duration) throws java.lang.Throwable
Duration - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetEndTime(DateTime endTimeUtc) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
endTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static void setForceDefaultIdFormat(boolean ForceDefaultIdFormat)
throws java.lang.Throwable
ForceDefaultIdFormat - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHasRemoteParent(boolean HasRemoteParent)
throws java.lang.Throwable
HasRemoteParent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIdFormat(ActivityIdFormat IdFormat) throws java.lang.Throwable
IdFormat - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetIdFormat(ActivityIdFormat format) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
format - the argument of type ActivityIdFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIsAllDataRequested(boolean IsAllDataRequested)
throws java.lang.Throwable
IsAllDataRequested - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIsStopped(boolean IsStopped)
throws java.lang.Throwable
IsStopped - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setKind(ActivityKind Kind) throws java.lang.Throwable
Kind - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setParent(Activity Parent) throws java.lang.Throwable
Parent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetParentId(ActivityTraceId traceId, ActivitySpanId spanId, ActivityTraceFlags activityTraceFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
traceId - the argument of type ActivityTraceIdspanId - the argument of type ActivitySpanIdactivityTraceFlags - the argument of type ActivityTraceFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic Activity SetParentId(java.lang.String parentId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
parentId - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setSource(ActivitySource Source) throws java.lang.Throwable
Source - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetStartTime(DateTime startTimeUtc) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
startTimeUtc - the argument of type DateTimejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setStartTimeUtc(DateTime StartTimeUtc) throws java.lang.Throwable
StartTimeUtc - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetStatus(ActivityStatusCode code, java.lang.String description) throws java.lang.Throwable
code - the argument of type ActivityStatusCodedescription - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity SetTag(java.lang.String key, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
key - the argument of type java.lang.Stringvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic static void setTraceIdGenerator(Func_1 TraceIdGenerator) throws java.lang.Throwable
TraceIdGenerator - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTraceStateString(java.lang.String TraceStateString)
throws java.lang.Throwable
TraceStateString - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Activity Start() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void Stop()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises it