메소드 | 설명 | |
---|---|---|
CreateComEvent ( object rcw, System.Guid sourceIid, int dispid ) : |
||
CreateDispCallable ( |
메소드 | 설명 | |
---|---|---|
CheckIfMissingTypeInfoIsExpected ( int hresult, bool throwIfMissingExpectedTypeInfo ) : void |
This method should be called when typeinfo is not available for an object. The function will check if the typeinfo is expected to be missing. This can include error cases where the same error is guaranteed to happen all the time, on all machines, under all circumstances. In such cases, we just have to operate without the typeinfo. However, if accessing the typeinfo is failing in a transient way, we might want to throw an exception so that we will eagerly predictably indicate the problem.
|
|
CheckThrowException ( int hresult, |
||
GetITypeInfoFromIDispatch ( IDispatch dispatch, bool throwIfMissingExpectedTypeInfo ) : System.Runtime.InteropServices.ComTypes.ITypeInfo |
Look for typeinfo using IDispatch.GetTypeInfo
|
|
GetInfoFromType ( System.Runtime.InteropServices.ComTypes typeInfo, string &name, string &documentation ) : void | ||
GetNameOfLib ( System.Runtime.InteropServices.ComTypes typeLib ) : string | ||
GetNameOfMethod ( System.Runtime.InteropServices.ComTypes typeInfo, int memid ) : string | ||
GetNameOfType ( System.Runtime.InteropServices.ComTypes typeInfo ) : string | ||
GetTypeAttrForTypeInfo ( System.Runtime.InteropServices.ComTypes typeInfo ) : |
||
GetTypeAttrForTypeLib ( System.Runtime.InteropServices.ComTypes typeLib ) : |
public static CreateComEvent ( object rcw, System.Guid sourceIid, int dispid ) : |
||
rcw | object | |
sourceIid | System.Guid | |
dispid | int | |
리턴 |
public static CreateDispCallable ( |
||
dispatch | ||
method | ||
리턴 |