Name

PlatformNotSupportedException

Synopsis

This exception signals an attempt to access a class or member that is not available on the current platform. For example, many properties from System.Diagnostics.Process are not available on Windows 95, 98, or ME.

public class PlatformNotSupportedException : NotSupportedException {
// Public Constructors
   public PlatformNotSupportedException( );
   public PlatformNotSupportedException(string message);
   public PlatformNotSupportedException(string message, Exception inner);
// Protected Constructors
   protected PlatformNotSupportedException(System.Runtime.Serialization.SerializationInfo info,
        System.Runtime.Serialization.StreamingContext context);
}

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException NotSupportedException PlatformNotSupportedException

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.