public class EventSourceCreationData extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.EventSourceCreationData
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.EventLog, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.EventLog
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.EventSourceCreationData
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventSourceCreationData() |
EventSourceCreationData(java.lang.Object instance)
Internal constructor.
|
EventSourceCreationData(java.lang.String source,
java.lang.String logName)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static EventSourceCreationData |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventSourceCreationData, a cast assert is made to check if types are compatible. |
int |
getCategoryCount()
Gets the value of the .NET property CategoryCount.
|
java.lang.String |
getCategoryResourceFile()
Gets the value of the .NET property CategoryResourceFile.
|
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. |
java.lang.String |
getLogName()
Gets the value of the .NET property LogName.
|
java.lang.String |
getMachineName()
Gets the value of the .NET property MachineName.
|
java.lang.String |
getMessageResourceFile()
Gets the value of the .NET property MessageResourceFile.
|
java.lang.String |
getParameterResourceFile()
Gets the value of the .NET property ParameterResourceFile.
|
java.lang.String |
getSource()
Gets the value of the .NET property Source.
|
void |
setCategoryCount(int CategoryCount)
Sets the value of the .NET property CategoryCount.
|
void |
setCategoryResourceFile(java.lang.String CategoryResourceFile)
Sets the value of the .NET property CategoryResourceFile.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLogName(java.lang.String LogName)
Sets the value of the .NET property LogName.
|
void |
setMachineName(java.lang.String MachineName)
Sets the value of the .NET property MachineName.
|
void |
setMessageResourceFile(java.lang.String MessageResourceFile)
Sets the value of the .NET property MessageResourceFile.
|
void |
setParameterResourceFile(java.lang.String ParameterResourceFile)
Sets the value of the .NET property ParameterResourceFile.
|
void |
setSource(java.lang.String Source)
Sets the value of the .NET property Source.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventSourceCreationData()
throws java.lang.Throwable
java.lang.Throwablepublic EventSourceCreationData(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 EventSourceCreationData(java.lang.String source,
java.lang.String logName)
throws java.lang.Throwable
source - the argument of type java.lang.StringlogName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic static EventSourceCreationData cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventSourceCreationData, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventSourceCreationData instancejava.lang.Throwable - in case of error during cast operationpublic int getCategoryCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getCategoryResourceFile()
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 java.lang.String getLogName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMachineName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMessageResourceFile()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getParameterResourceFile()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getSource()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCategoryCount(int CategoryCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
CategoryCount - 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 setCategoryResourceFile(java.lang.String CategoryResourceFile)
throws java.lang.Throwable
CategoryResourceFile - 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 setLogName(java.lang.String LogName)
throws java.lang.Throwable
LogName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMachineName(java.lang.String MachineName)
throws java.lang.Throwable
MachineName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setMessageResourceFile(java.lang.String MessageResourceFile)
throws java.lang.Throwable
MessageResourceFile - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setParameterResourceFile(java.lang.String ParameterResourceFile)
throws java.lang.Throwable
ParameterResourceFile - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSource(java.lang.String Source)
throws java.lang.Throwable
Source - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR