Makes the receiver dependent on the completion of the specified operation.
Original signature is '- (void)addDependency:(NSOperation *)operation'
Available in Mac OS X v10.5 and later.
| C# | Visual Basic | Visual C++ |
public virtual void AddDependency( NSOperation operation )
Public Overridable Sub AddDependency ( _ operation As NSOperation _ )
public: virtual void AddDependency( NSOperation^ operation )
- operation (NSOperation)
- The operation on which the receiver should depend. The same dependency should not be added more than once to the receiver, and the results of doing so are undefined.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)