PlatformNotSupportedException Constructor (String)
Collapse the table of content
Expand the table of content

PlatformNotSupportedException Constructor (String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the PlatformNotSupportedException class with a specified error message.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Sub New ( _
	message As String _
)

Parameters

message
Type: System.String
The text message that explains the reason for the exception.

When an instance of the PlatformNotSupportedException class is created by a call to this constructor, the following properties are initialized to the specified values:

Property

Value

InnerException

Nothing.

Message

The error message string.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft