NSUrlSession.FromConfiguration Method

Definition

Overloads

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)
FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)
FromConfiguration(NSUrlSessionConfiguration)

Factory method to create an NSUrlSession from the specified configuration.

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)

Warning

This API is now obsolete.

[System.Obsolete("Use the overload with a 'INSUrlSessionDelegate' parameter.", false)]
public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration, Foundation.NSUrlSessionDelegate sessionDelegate, Foundation.NSOperationQueue delegateQueue);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration * Foundation.NSUrlSessionDelegate * Foundation.NSOperationQueue -> Foundation.NSUrlSession

Parameters

sessionDelegate
NSUrlSessionDelegate
delegateQueue
NSOperationQueue

Returns

NSUrlSession
Attributes

FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)

public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration, Foundation.INSUrlSessionDelegate sessionDelegate, Foundation.NSOperationQueue delegateQueue);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration * Foundation.INSUrlSessionDelegate * Foundation.NSOperationQueue -> Foundation.NSUrlSession

Parameters

sessionDelegate
INSUrlSessionDelegate
delegateQueue
NSOperationQueue

Returns

NSUrlSession

FromConfiguration(NSUrlSessionConfiguration)

Factory method to create an NSUrlSession from the specified configuration.

[Foundation.Export("sessionWithConfiguration:")]
public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration -> Foundation.NSUrlSession

Parameters

Returns

NSUrlSession
Attributes

Applies to