NSUrlConnection.FromRequest(NSUrlRequest, INSUrlConnectionDelegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("connectionWithRequest:delegate:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSUrlConnection FromRequest (Foundation.NSUrlRequest request, Foundation.INSUrlConnectionDelegate connectionDelegate);
static member FromRequest : Foundation.NSUrlRequest * Foundation.INSUrlConnectionDelegate -> Foundation.NSUrlConnection
Parameters
- request
- NSUrlRequest
- connectionDelegate
- INSUrlConnectionDelegate
Returns
- Attributes