Returns an NSError object initialized for a given domain and code with a given userInfo dictionary.
Original signature is '- (id)initWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.

C# | Visual Basic | Visual C++ |
public virtual Id InitWithDomainCodeUserInfo( NSString domain, NSInteger code, NSDictionary dict )
Public Overridable Function InitWithDomainCodeUserInfo ( _ domain As NSString, _ code As NSInteger, _ dict As NSDictionary _ ) As Id
public: virtual Id^ InitWithDomainCodeUserInfo( NSString^ domain, NSInteger code, NSDictionary^ dict )

- domain (NSString)
- The error domain—this can be one of the predefined NSError domains, or an arbitrary string describing a custom domain. domain must not be nil.
- code (NSInteger)
- The error code for the error.
- dict (NSDictionary)
- The userInfo dictionary for the error. userInfo may be nil.

An NSError object initialized for domain with the specified error code and the dictionary of arbitrary data userInfo.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)