Initializes a newly allocated script instance from the source identified by the passed URL.
Original signature is '- (id)initWithContentsOfURL:(NSURL *)url error:(NSDictionary **)errorInfo'
Available in Mac OS X v10.2 and later.

C# | Visual Basic | Visual C++ |
public virtual Id InitWithContentsOfURLError( NSURL url, out NSDictionary errorInfo )
Public Overridable Function InitWithContentsOfURLError ( _ url As NSURL, _ <OutAttribute> ByRef errorInfo As NSDictionary _ ) As Id
public: virtual Id^ InitWithContentsOfURLError( NSURL^ url, [OutAttribute] NSDictionary^% errorInfo )

- url (NSURL)
- A URL that locates a script, in either text or compiled form.
- errorInfo (NSDictionary%)
- On return, if an error occurs, a pointer to an error information dictionary.

The initialized script object, nil if an error occurs.

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