public class ComAwareEventInfo extends EventInfo
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Runtime.InteropServices.ComAwareEventInfo
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.Runtime.InteropServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.InteropServices
|
static java.lang.String |
className
Qualified class name: System.Runtime.InteropServices.ComAwareEventInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ComAwareEventInfo() |
ComAwareEventInfo(NetType type,
java.lang.String eventName)
Initializes a new instance by invoking the .NET constructor.
|
ComAwareEventInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ComAwareEventInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ComAwareEventInfo, a cast assert is made to check if types are compatible. |
MethodInfo |
GetAddMethod(boolean nonPublic)
Invokes the .NET member GetAddMethod.
|
NetObject[] |
GetCustomAttributes(boolean inherit)
Invokes the .NET member GetCustomAttributes.
|
NetObject[] |
GetCustomAttributes(NetType attributeType,
boolean inherit)
Invokes the .NET member GetCustomAttributes.
|
IList_1 |
GetCustomAttributesData()
Invokes the .NET member GetCustomAttributesData.
|
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. |
MethodInfo[] |
GetOtherMethods(boolean nonPublic)
Invokes the .NET member GetOtherMethods.
|
MethodInfo |
GetRaiseMethod(boolean nonPublic)
Invokes the .NET member GetRaiseMethod.
|
MethodInfo |
GetRemoveMethod(boolean nonPublic)
Invokes the .NET member GetRemoveMethod.
|
boolean |
IsDefined(NetType attributeType,
boolean inherit)
Invokes the .NET member IsDefined.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
getAddMethod, GetAddMethod, getAttributes, getEventHandlerType, getIsMulticast, getIsSpecialName, GetOtherMethods, getRaiseMethod, GetRaiseMethod, getRemoveMethod, GetRemoveMethodgetCustomAttributes, getDeclaringType, getIsCollectible, getMemberType, getMetadataToken, getModule, getName, getReflectedType, HasSameMetadataDefinitionAspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ComAwareEventInfo()
throws java.lang.Throwable
java.lang.Throwablepublic ComAwareEventInfo(NetType type, java.lang.String eventName) throws java.lang.Throwable
type - the argument of type NetTypeeventName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic ComAwareEventInfo(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 static ComAwareEventInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ComAwareEventInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedComAwareEventInfo instancejava.lang.Throwable - in case of error during cast operationpublic MethodInfo GetAddMethod(boolean nonPublic) throws java.lang.Throwable
GetAddMethod in class EventInfononPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable
GetCustomAttributes in class MemberInfoinherit - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable
GetCustomAttributes in class MemberInfoattributeType - the argument of type NetTypeinherit - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList_1 GetCustomAttributesData() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
GetCustomAttributesData in class MemberInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class EventInfopublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class EventInfopublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class EventInfonull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class EventInfopublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class EventInfopublic MethodInfo[] GetOtherMethods(boolean nonPublic) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
GetOtherMethods in class EventInfononPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic MethodInfo GetRaiseMethod(boolean nonPublic) throws java.lang.Throwable
GetRaiseMethod in class EventInfononPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo GetRemoveMethod(boolean nonPublic) throws java.lang.Throwable
GetRemoveMethod in class EventInfononPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable
IsDefined in class MemberInfoattributeType - the argument of type NetTypeinherit - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class EventInfoinstance - the new underlying object