Поделиться через


NSUrlConnection.FromRequest(NSUrlRequest, INSUrlConnectionDelegate) Метод

Определение

[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

Параметры

request
NSUrlRequest
connectionDelegate
INSUrlConnectionDelegate

Возвращаемое значение

Атрибуты

Применяется к