Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Foundation
  3. NSUrlSessionWebSocketTask
  4. CloseCode
  • NSUrlSessionWebSocketTask
    • NSUrlSessionWebSocketTask(IntPtr)
    • NSUrlSessionWebSocketTask(NativeHandle)
    • NSUrlSessionWebSocketTask(NSObjectFlag)
    • ClassHandle
    • CloseCode
    • CloseReason
    • MaximumMessageSize
    • Cancel(NSUrlSessionWebSocketCloseCode, NSData)
    • ReceiveMessage(Action<NSUrlSessionWebSocketMessage, NSError>)
    • ReceiveMessageAsync()
    • SendMessage(NSUrlSessionWebSocketMessage, Action<NSError>)
    • SendMessageAsync(NSUrlSessionWebSocketMessage)
    • SendPing(Action<NSError>)
    • SendPingAsync()
xamarintvos
namespace Foundation
{
    [Introduced(PlatformName.WatchOS, 6, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.TvOS, 13, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 15, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.iOS, 13, 0, PlatformArchitecture.All, null)]
    [Register("NSURLSessionWebSocketTask", true)]
    public class NSUrlSessionWebSocketTask : NSUrlSessionTask
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        public virtual NSUrlSessionWebSocketCloseCode CloseCode
        {
            [Export("closeCode")]
            get;
        }

    }
}
.NET
6.07.08.09.0
Information specific to xamarintvos
Assembly

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

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙