public class TraceListenerCollection extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.TraceListenerCollection
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.TraceSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.TraceSource
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.TraceListenerCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
TraceListenerCollection() |
TraceListenerCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(TraceListener listener) |
void |
AddRange(TraceListener[] value) |
void |
AddRange(TraceListenerCollection value) |
static TraceListenerCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TraceListenerCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(TraceListener listener) |
void |
CopyTo(TraceListener[] listeners,
int index) |
int |
getCount() |
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
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
IndexOf(TraceListener listener) |
void |
Insert(int index,
TraceListener listener) |
void |
Remove(java.lang.String name) |
void |
Remove(TraceListener listener) |
void |
RemoveAt(int index) |
void |
setJCOInstance(JCObject instance) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TraceListenerCollection()
throws java.lang.Throwable
java.lang.Throwablepublic TraceListenerCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic int Add(TraceListener listener) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic void AddRange(TraceListener[] value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void AddRange(TraceListenerCollection value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static TraceListenerCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TraceListenerCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTraceListenerCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException
public boolean Contains(TraceListener listener) throws java.lang.Throwable
java.lang.Throwablepublic void CopyTo(TraceListener[] listeners, int index) throws java.lang.Throwable
java.lang.Throwablepublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic int IndexOf(TraceListener listener) throws java.lang.Throwable
java.lang.Throwablepublic void Insert(int index,
TraceListener listener)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException
public void Remove(java.lang.String name)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionpublic void Remove(TraceListener listener) throws java.lang.Throwable
java.lang.Throwablepublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerable