xamarinmac
namespace Foundation
{
    [Introduced(PlatformName.iOS, 7, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 9, PlatformArchitecture.All, null)]
    [Register("NSURLSession", true)]
    public class NSUrlSession : NSObject
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Export("getTasksWithCompletionHandler:")]
        [Obsolete("Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.", false)]
        public virtual void GetTasks([BlockProxy(typeof(NIDNSUrlSessionPendingTasks))] NSUrlSessionPendingTasks! completionHandler);
    }
}
.NET 6.07.08.09.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Obsolete Use GetTasks2 instead. This method may throw spurious InvalidCastExceptions, in particular for backgrounded tasks.
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

12/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙