Foundation.NSUrlSession Members

The members of Foundation.NSUrlSession are listed below.

See Also: Inherited members from Foundation.NSObject

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
ConfigurationNSUrlSessionConfiguration. The configuration object for this session.
[read-only]
DelegateINSUrlSessionDelegate. An instance of the Foundation.NSUrlSessionDelegate model class which acts as the class delegate.
[read-only]
DelegateQueueNSOperationQueue. The operation queue used when this was created. Read-only.
SessionDescriptionstring. A human-readable description for the session.
[read-only]
static
SharedSessionNSUrlSession. The shared singleton object.
[read-only]
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

CreateDataTask(NSUrl) : NSUrlSessionDataTask
Creates an HTTP request based on the specified url.
CreateDataTask(NSUrlRequest) : NSUrlSessionDataTask
Documentation for this section has not yet been entered.
CreateDataTask(NSUrl, NSUrlSessionResponse) : NSUrlSessionDataTask
Documentation for this section has not yet been entered.
CreateDataTask(NSUrlRequest, NSUrlSessionResponse) : NSUrlSessionDataTask
Documentation for this section has not yet been entered.
CreateDataTaskAsync(NSUrl) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateDataTaskAsync(NSUrlRequest) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateDataTaskAsync(NSUrl, out NSUrlSessionDataTask) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateDataTaskAsync(NSUrlRequest, out NSUrlSessionDataTask) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateDownloadTask(NSData) : NSUrlSessionDownloadTask
Creates a download task for a previously canceled or failed download.
CreateDownloadTask(NSUrl) : NSUrlSessionDownloadTask
Documentation for this section has not yet been entered.
CreateDownloadTask(NSUrlRequest) : NSUrlSessionDownloadTask
Documentation for this section has not yet been entered.
CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse) : NSUrlSessionDownloadTask
Documentation for this section has not yet been entered.
CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse) : NSUrlSessionDownloadTask
Documentation for this section has not yet been entered.
CreateDownloadTaskAsync(NSUrl) : System.Threading.Tasks.Task<NSUrlSessionDownloadTaskRequest>
Documentation for this section has not yet been entered.
CreateDownloadTaskAsync(NSUrlRequest) : System.Threading.Tasks.Task<NSUrlSessionDownloadTaskRequest>
Documentation for this section has not yet been entered.
CreateDownloadTaskAsync(NSUrl, out NSUrlSessionDownloadTask) : System.Threading.Tasks.Task<NSUrlSessionDownloadTaskRequest>
Documentation for this section has not yet been entered.
CreateDownloadTaskAsync(NSUrlRequest, out NSUrlSessionDownloadTask) : System.Threading.Tasks.Task<NSUrlSessionDownloadTaskRequest>
Documentation for this section has not yet been entered.
CreateDownloadTaskFromResumeData(NSData, NSUrlDownloadSessionResponse) : NSUrlSessionDownloadTask
Documentation for this section has not yet been entered.
CreateDownloadTaskFromResumeDataAsync(NSData) : System.Threading.Tasks.Task<NSUrlSessionDownloadTaskRequest>
Documentation for this section has not yet been entered.
CreateDownloadTaskFromResumeDataAsync(NSData, out NSUrlSessionDownloadTask) : System.Threading.Tasks.Task<NSUrlSessionDownloadTaskRequest>
Documentation for this section has not yet been entered.
CreateUploadTask(NSUrlRequest) : NSUrlSessionUploadTask
Creates an upload task.
CreateUploadTask(NSUrlRequest, NSData) : NSUrlSessionUploadTask
Documentation for this section has not yet been entered.
CreateUploadTask(NSUrlRequest, NSUrl) : NSUrlSessionUploadTask
Documentation for this section has not yet been entered.
CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse) : NSUrlSessionUploadTask
Documentation for this section has not yet been entered.
CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse) : NSUrlSessionUploadTask
Documentation for this section has not yet been entered.
CreateUploadTaskAsync(NSUrlRequest, NSData) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateUploadTaskAsync(NSUrlRequest, NSUrl) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateUploadTaskAsync(NSUrlRequest, NSData, out NSUrlSessionUploadTask) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
CreateUploadTaskAsync(NSUrlRequest, NSUrl, out NSUrlSessionUploadTask) : System.Threading.Tasks.Task<NSUrlSessionDataTaskRequest>
Documentation for this section has not yet been entered.
FinishTasksAndInvalidate()
Invalidates the object after allowing any outstanding tasks to finish.
Flush(Action)
Documentation for this section has not yet been entered.
FlushAsync() : System.Threading.Tasks.Task
Flushes download data to disk and ensures future requests occur on a new socket.
static
FromConfiguration(NSUrlSessionConfiguration) : NSUrlSession
Factory method to create an NSUrlSession from the specified configuration.
static
FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue) : NSUrlSession
Documentation for this section has not yet been entered.
static
FromWeakConfiguration(NSUrlSessionConfiguration, NSObject, NSOperationQueue) : NSUrlSession
Documentation for this section has not yet been entered.
GetTasks(NSUrlSessionPendingTasks)
Requests the groups of pending tasks (data, upload and downloads).
GetTasks2(NSUrlSessionPendingTasks2)
Documentation for this section has not yet been entered.
GetTasks2Async() : System.Threading.Tasks.Task<NSUrlSessionActiveTasks2>
Requests the groups of pending tasks (data, upload and downloads).
GetTasksAsync() : System.Threading.Tasks.Task<NSUrlSessionActiveTasks>
Requests the groups of pending tasks (data, upload and downloads).
InvalidateAndCancel()
Cancels all outstanding tasks and invalidates the session object.
Reset(Action)
Documentation for this section has not yet been entered.
ResetAsync() : System.Threading.Tasks.Task
Performs a full resets of the url session.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSUrlSession object.