public class EventSchemaTraceListener extends TextWriterTraceListener
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.EventSchemaTraceListener
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.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Core
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.EventSchemaTraceListener
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventSchemaTraceListener() |
EventSchemaTraceListener(java.lang.Object instance)
Internal constructor.
|
EventSchemaTraceListener(java.lang.String fileName) |
EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name) |
EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize) |
EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize,
TraceLogRetentionOption logRetentionOption) |
EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize,
TraceLogRetentionOption logRetentionOption,
long maximumFileSize) |
EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize,
TraceLogRetentionOption logRetentionOption,
long maximumFileSize,
int maximumNumberOfFiles) |
| Modifier and Type | Method and Description |
|---|---|
static EventSchemaTraceListener |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventSchemaTraceListener, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
Fail(java.lang.String message,
java.lang.String detailMessage) |
void |
Flush() |
int |
getBufferSize() |
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
|
long |
getMaximumFileSize() |
int |
getMaximumNumberOfFiles() |
TraceLogRetentionOption |
getTraceLogRetentionOption() |
TextWriter |
getWriter() |
void |
setJCOInstance(JCObject instance) |
void |
setWriter(TextWriter Writer) |
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) |
close, Dispose, Fail, getAttributes, getFilter, getIndentLevel, getIndentSize, getIsThreadSafe, getName, getTraceOutputOptions, setFilter, setIndentLevel, setIndentSize, setName, setTraceOutputOptions, TraceEvent, Write, Write, Write, WriteLine, WriteLine, WriteLineCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventSchemaTraceListener()
throws java.lang.Throwable
java.lang.Throwablepublic EventSchemaTraceListener(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic EventSchemaTraceListener(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
MemberAccessException,
IndexOutOfRangeException
public EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
MemberAccessException,
PathTooLongException,
NotSupportedException,
IndexOutOfRangeException
public EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PathTooLongException,
MemberAccessException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionFormatExceptionpublic EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize,
TraceLogRetentionOption logRetentionOption)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
MemberAccessException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionMemberAccessExceptionNotSupportedExceptionpublic EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize,
TraceLogRetentionOption logRetentionOption,
long maximumFileSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
PathTooLongException,
MemberAccessException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionpublic EventSchemaTraceListener(java.lang.String fileName,
java.lang.String name,
int bufferSize,
TraceLogRetentionOption logRetentionOption,
long maximumFileSize,
int maximumNumberOfFiles)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
PathTooLongException,
MemberAccessException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionFormatExceptionpublic static EventSchemaTraceListener cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventSchemaTraceListener, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventSchemaTraceListener 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,
ArgumentOutOfRangeException,
FormatException,
NotImplementedException,
NotSupportedException,
InvalidOperationException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException,
Win32Exception,
OverflowException,
IndexOutOfRangeException
Fail in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionWin32ExceptionOverflowExceptionIndexOutOfRangeExceptionpublic void Flush()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
InvalidOperationException,
FormatException,
OverflowException,
NotSupportedException,
NotImplementedException,
MissingManifestResourceException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException
Flush in class TextWriterTraceListenerjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionFormatExceptionOverflowExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic int getBufferSize()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
InvalidOperationException,
OverflowException,
NotImplementedException,
MissingManifestResourceException
public 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 long getMaximumFileSize()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
InvalidOperationException,
OverflowException,
NotImplementedException,
MissingManifestResourceException
public int getMaximumNumberOfFiles()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
InvalidOperationException,
OverflowException,
NotImplementedException,
MissingManifestResourceException
public TraceLogRetentionOption getTraceLogRetentionOption() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, OverflowException, NotImplementedException, MissingManifestResourceException
public TextWriter getWriter() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, FormatException, OverflowException, NotSupportedException, NotImplementedException, MissingManifestResourceException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException
getWriter in class TextWriterTraceListenerjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionFormatExceptionOverflowExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class TextWriterTraceListenerpublic void setWriter(TextWriter Writer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
setWriter in class TextWriterTraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void TraceData(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, NetObject... data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, IndexOutOfRangeException, OverflowException, CultureNotFoundException, NullReferenceException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, Win32Exception, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
TraceData in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOverflowExceptionCultureNotFoundExceptionNullReferenceExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionWin32ExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void TraceData(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, IndexOutOfRangeException, OverflowException, CultureNotFoundException, NullReferenceException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, Win32Exception, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
TraceData in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOverflowExceptionCultureNotFoundExceptionNullReferenceExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionWin32ExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void TraceEvent(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, java.lang.String message) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, IndexOutOfRangeException, OverflowException, CultureNotFoundException, NullReferenceException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, Win32Exception, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
TraceEvent in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOverflowExceptionCultureNotFoundExceptionNullReferenceExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionWin32ExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void TraceEvent(TraceEventCache eventCache, java.lang.String source, TraceEventType eventType, int id, java.lang.String format, NetObject... args) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, IndexOutOfRangeException, OverflowException, CultureNotFoundException, NullReferenceException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, Win32Exception, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
TraceEvent in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOverflowExceptionCultureNotFoundExceptionNullReferenceExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionWin32ExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void TraceTransfer(TraceEventCache eventCache, java.lang.String source, int id, java.lang.String message, Guid relatedActivityId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, IndexOutOfRangeException, OverflowException, CultureNotFoundException, NullReferenceException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, Win32Exception, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
TraceTransfer in class TraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOverflowExceptionCultureNotFoundExceptionNullReferenceExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionWin32ExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic 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,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
PlatformNotSupportedException,
Win32Exception,
OverflowException,
IndexOutOfRangeException
WriteLine in class TextWriterTraceListenerjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionPlatformNotSupportedExceptionWin32ExceptionOverflowExceptionIndexOutOfRangeException