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(stringmessage
); public PlatformNotSupportedException(stringmessage
, Exceptioninner
); // Protected Constructors protected PlatformNotSupportedException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
); }
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.