Edytuj

Udostępnij za pośrednictwem


NSUrlSession.FromConfiguration Method

Definition

Overloads

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

Factory method to create an NSUrlSession from the specified configuration.

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)

Caution

Use the overload with a 'INSUrlSessionDelegate' parameter.

[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

Attributes

Applies to

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

Applies to

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

Attributes

Applies to