Partager via


NSUrlConnection.FromRequest(NSUrlRequest, INSUrlConnectionDelegate) Méthode

Définition

[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

Paramètres

request
NSUrlRequest
connectionDelegate
INSUrlConnectionDelegate

Retours

Attributs

S’applique à