MonobjcMonobjc Documented Class Library
PerformSelectorInBackgroundWithObject Method (aSelector, arg)
NamespacesMonobjc.FoundationNSObjectPerformSelectorInBackgroundWithObject(IntPtr, Id)

Invokes a method of the receiver on a new background thread.

Original signature is '- (void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void PerformSelectorInBackgroundWithObject(
	IntPtr aSelector,
	Id arg
)
Public Overridable Sub PerformSelectorInBackgroundWithObject ( _
	aSelector As IntPtr, _
	arg As Id _
)
public:
virtual void PerformSelectorInBackgroundWithObject(
	IntPtr aSelector, 
	Id^ arg
)
Parameters
aSelector (IntPtr)
A selector that identifies the method to invoke. The method should not have a significant return value and should take a single argument of type id, or no arguments.
arg (Id)
The argument to pass to the method when it is invoked. Pass nil if the method does not take an argument.
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.Foundation (Module: Monobjc.Foundation)