Initializes an NSCachedURLResponse object.
Original signature is '- (id)initWithResponse:(NSURLResponse *)response data:(NSData *)data userInfo:(NSDictionary *)userInfo storagePolicy:(NSURLCacheStoragePolicy)storagePolicy'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.

C# | Visual Basic | Visual C++ |
public NSCachedURLResponse( NSURLResponse response, NSData data, NSDictionary userInfo, NSURLCacheStoragePolicy storagePolicy )
Public Sub New ( _ response As NSURLResponse, _ data As NSData, _ userInfo As NSDictionary, _ storagePolicy As NSURLCacheStoragePolicy _ )
public: NSCachedURLResponse( NSURLResponse^ response, NSData^ data, NSDictionary^ userInfo, NSURLCacheStoragePolicy storagePolicy )

- response (NSURLResponse)
- The response to cache.
- data (NSData)
- The data to cache.
- userInfo (NSDictionary)
- An optional dictionary of user information. May be nil.
- storagePolicy (NSURLCacheStoragePolicy)
- The storage policy for the cached response.

The NSCachedURLResponse object, initialized using the given data.

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