public class ActivityListener extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.ActivityListener
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=10.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.ActivityListener
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ActivityListener() |
ActivityListener(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ActivityListener |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ActivityListener, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
Action_1 |
getActivityStarted() |
Action_1 |
getActivityStopped() |
ExceptionRecorder |
getExceptionRecorder() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
SampleActivity_1 |
getSample() |
SampleActivity_1 |
getSampleUsingParentId() |
Func_2 |
getShouldListenTo() |
void |
setActivityStarted(Action_1 ActivityStarted) |
void |
setActivityStopped(Action_1 ActivityStopped) |
void |
setExceptionRecorder(ExceptionRecorder ExceptionRecorder) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setSample(SampleActivity_1 Sample) |
void |
setSampleUsingParentId(SampleActivity_1 SampleUsingParentId) |
void |
setShouldListenTo(Func_2 ShouldListenTo) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ActivityListener()
throws java.lang.Throwable
java.lang.Throwablepublic ActivityListener(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ActivityListener cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ActivityListener, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedActivityListener 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,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
IndexOutOfRangeException
public Action_1 getActivityStarted() throws java.lang.Throwable
java.lang.Throwablepublic Action_1 getActivityStopped() throws java.lang.Throwable
java.lang.Throwablepublic ExceptionRecorder getExceptionRecorder() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic SampleActivity_1 getSample() throws java.lang.Throwable
java.lang.Throwablepublic SampleActivity_1 getSampleUsingParentId() throws java.lang.Throwable
java.lang.Throwablepublic Func_2 getShouldListenTo() throws java.lang.Throwable
java.lang.Throwablepublic void setActivityStarted(Action_1 ActivityStarted) throws java.lang.Throwable
java.lang.Throwablepublic void setActivityStopped(Action_1 ActivityStopped) throws java.lang.Throwable
java.lang.Throwablepublic void setExceptionRecorder(ExceptionRecorder ExceptionRecorder) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void setSample(SampleActivity_1 Sample) throws java.lang.Throwable
java.lang.Throwablepublic void setSampleUsingParentId(SampleActivity_1 SampleUsingParentId) throws java.lang.Throwable
java.lang.Throwablepublic void setShouldListenTo(Func_2 ShouldListenTo) throws java.lang.Throwable
java.lang.Throwable