MonobjcMonobjc Documented Class Library
BeginInvoke Method (method, args)
NamespacesMonobjc.AppKitNSResponderBeginInvoke(Delegate, array<Object>[]()[][])

Executes the delegate on the main thread that this object executes on.

NB: Assumption is made that Objective-C controls have been created on the Main Thread.

Declaration Syntax
C#Visual BasicVisual C++
public IAsyncResult BeginInvoke(
	Delegate method,
	params Object[] args
Public Function BeginInvoke ( _
	method As Delegate, _
	ParamArray args As Object() _
) As IAsyncResult
virtual IAsyncResult^ BeginInvoke(
	Delegate^ method, 
	... array<Object^>^ args
) sealed
method (Delegate)
A Delegate to a method that takes parameters of the same number and type that are contained in args.
args (array<Object>[]()[][])
An array of type Object to pass as arguments to the given method. This can be null if no arguments are needed.
Return Value
An IAsyncResult interface that represents the asynchronous operation started by calling this method.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)