Edit

Share via


NSUrlConnection.FromRequest(NSUrlRequest, INSUrlConnectionDelegate) Method

Definition

[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

Applies to