public class XmlWriterTraceListener extends TextWriterTraceListener
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.XmlWriterTraceListener
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.TextWriterTraceListener, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.TextWriterTraceListener
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.XmlWriterTraceListener
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XmlWriterTraceListener() |
XmlWriterTraceListener(java.lang.Object instance)
Internal constructor.
|
XmlWriterTraceListener(Stream stream) |
XmlWriterTraceListener(Stream stream,
java.lang.String name) |
XmlWriterTraceListener(java.lang.String filename) |
XmlWriterTraceListener(java.lang.String filename,
java.lang.String name) |
XmlWriterTraceListener(TextWriter writer) |
XmlWriterTraceListener(TextWriter writer,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static XmlWriterTraceListener |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XmlWriterTraceListener, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
Fail(java.lang.String message,
java.lang.String detailMessage) |
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
|
void |
setJCOInstance(JCObject instance) |
void |
TraceData(TraceEventCache eventCache,
java.lang.String source,
TraceEventType eventType,
int id,
NetObject... data) |
void |
TraceData(TraceEventCache eventCache,
java.lang.String source,
TraceEventType eventType,
int id,
NetObject data) |
void |
TraceEvent(TraceEventCache eventCache,
java.lang.String source,
TraceEventType eventType,
int id,
java.lang.String message) |
void |
TraceEvent(TraceEventCache eventCache,
java.lang.String source,
TraceEventType eventType,
int id,
java.lang.String format,
NetObject... args) |
void |
TraceTransfer(TraceEventCache eventCache,
java.lang.String source,
int id,
java.lang.String message,
Guid relatedActivityId) |
void |
Write(java.lang.String message) |
void |
WriteLine(java.lang.String message) |
Flush, getWriter, setWriterclose, Dispose, Fail, getAttributes, getFilter, getIndentLevel, getIndentSize, getIsThreadSafe, getName, getTraceOutputOptions, setFilter, setIndentLevel, setIndentSize, setName, setTraceOutputOptions, TraceEvent, Write, Write, Write, WriteLine, WriteLine, WriteLineGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XmlWriterTraceListener()
throws java.lang.Throwable
java.lang.Throwablepublic XmlWriterTraceListener(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic XmlWriterTraceListener(Stream stream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public XmlWriterTraceListener(Stream stream, java.lang.String name) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public XmlWriterTraceListener(java.lang.String filename)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic XmlWriterTraceListener(java.lang.String filename,
java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic XmlWriterTraceListener(TextWriter writer) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic XmlWriterTraceListener(TextWriter writer, java.lang.String name) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic static XmlWriterTraceListener cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XmlWriterTraceListener, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXmlWriterTraceListener instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
ArgumentNullException
Close in class TextWriterTraceListenerjava.lang.ThrowableArgumentNullExceptionpublic void Fail(java.lang.String message,
java.lang.String detailMessage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
Fail in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TextWriterTraceListenerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TextWriterTraceListenerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TextWriterTraceListenerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TextWriterTraceListenerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class TextWriterTraceListenerJCType representing the CLR Type of the instantiated Classpublic void setJCOInstance(JCObject instance)
setJCOInstance in class TextWriterTraceListenerpublic void TraceData(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, NetObject... data) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, NotSupportedException, CultureNotFoundException, Win32Exception, OutOfMemoryException, AbandonedMutexException, ArrayTypeMismatchException, RankException, InvalidCastException
TraceData in class TraceListenerjava.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionOutOfMemoryExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastExceptionpublic void TraceData(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, NetObject data) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, NotSupportedException, CultureNotFoundException, Win32Exception, OutOfMemoryException, AbandonedMutexException, ArrayTypeMismatchException, RankException, InvalidCastException
TraceData in class TraceListenerjava.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionOutOfMemoryExceptionAbandonedMutexExceptionArrayTypeMismatchExceptionRankExceptionInvalidCastExceptionpublic void TraceEvent(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, java.lang.String message) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, NotSupportedException, CultureNotFoundException, Win32Exception, OutOfMemoryException, AbandonedMutexException
TraceEvent in class TraceListenerjava.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionOutOfMemoryExceptionAbandonedMutexExceptionpublic void TraceEvent(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, java.lang.String format, NetObject... args) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, NotSupportedException, CultureNotFoundException, Win32Exception, OutOfMemoryException, AbandonedMutexException
TraceEvent in class TraceListenerjava.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionOutOfMemoryExceptionAbandonedMutexExceptionpublic void TraceTransfer(TraceEventCache eventCache, java.lang.String source, int id, java.lang.String message, Guid relatedActivityId) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidTimeZoneException, OverflowException, NotSupportedException, CultureNotFoundException, Win32Exception, OutOfMemoryException, AbandonedMutexException
TraceTransfer in class TraceListenerjava.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionOutOfMemoryExceptionAbandonedMutexExceptionpublic void Write(java.lang.String message)
throws java.lang.Throwable
Write in class TextWriterTraceListenerjava.lang.Throwablepublic void WriteLine(java.lang.String message)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
WriteLine in class TextWriterTraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException