AVAssetDownloadUrlSession.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) |
Creates a new NSUrlSession from the specified |
FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue) |
Creates a new NSUrlSession by using the specified configuration, delegate, and delegate cue. |
FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue) |
Obsolete.
Creates a new NSUrlSession from the specified |
FromConfiguration(NSUrlSessionConfiguration)
Creates a new NSUrlSession from the specified configuration
.
public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration -> Foundation.NSUrlSession
Parameters
- configuration
- NSUrlSessionConfiguration
Returns
Applies to
FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)
Creates a new NSUrlSession by using the specified configuration, delegate, and delegate cue.
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
The session configuration to use.
- sessionDelegate
- INSUrlSessionDelegate
The session delegate to use.
- delegateQueue
- NSOperationQueue
The operation cue to use.
Returns
Applies to
FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)
Caution
Use the overload with a 'INSUrlSessionDelegate' parameter.
Creates a new NSUrlSession from the specified configuration
and session delegate and delegate queue.
[System.Obsolete("Use the overload with a 'INSUrlSessionDelegate' parameter.")]
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