NSUrlSession.FromConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- configuration
- NSUrlSessionConfiguration
- 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
- configuration
- NSUrlSessionConfiguration
- 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
- configuration
- NSUrlSessionConfiguration
Returns
- Attributes