Delegate UserDefinedClass.GenericCallback
Assembly: NXOpen.dll
Syntax
public delegate int GenericCallback(UserDefinedEvent eventObject);
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
Constructors
GenericCallback(Object, IntPtr)
Declaration
public GenericCallback(object object, IntPtr method)
Parameters
| Type |
Name |
Description |
| System.Object |
object |
|
| System.IntPtr |
method |
|
Methods
BeginInvoke(UserDefinedEvent, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(UserDefinedEvent eventObject, AsyncCallback callback, object object)
Parameters
| Type |
Name |
Description |
| UserDefinedEvent |
eventObject |
|
| System.AsyncCallback |
callback |
|
| System.Object |
object |
|
Returns
| Type |
Description |
| System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual int EndInvoke(IAsyncResult result)
Parameters
| Type |
Name |
Description |
| System.IAsyncResult |
result |
|
Returns
| Type |
Description |
| System.Int32 |
|
Invoke(UserDefinedEvent)
Declaration
public virtual int Invoke(UserDefinedEvent eventObject)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|