Sent when the load request fails due to an error. (required)
Original signature is '- (void)URLProtocol:(NSURLProtocol *)protocol didFailWithError:(NSError *)error'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void URLProtocolDidFailWithError( NSURLProtocol protocol, NSError error )
Sub URLProtocolDidFailWithError ( _ protocol As NSURLProtocol, _ error As NSError _ )
void URLProtocolDidFailWithError( NSURLProtocol^ protocol, NSError^ error )
Parameters
- protocol (NSURLProtocol)
- The URL protocol object sending the message.
- error (NSError)
- The error that caused the failure of the load request.
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)