TypeAccessException Constructor (String)

TypeAccessException Constructor (String)

.NET Framework (current version)
 

Initializes a new instance of the TypeAccessException class with a specified message that describes the error.

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

public TypeAccessException(
	string message
)

Parameters

message
Type: System.String

The message that describes the exception. The caller of this constructor must ensure that this string has been localized for the current system culture.

The following table shows the initial property values for an instance of TypeAccessException.

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

Message

The error message string specified in message.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft