This documentation is archived and is not being maintained.

ValueUnavailableException Constructor (String)

Updated: July 2008

Initializes a new instance of the ValueUnavailableException class with the specified message.

Namespace:  System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public ValueUnavailableException(
	string message
)
You cannot use constructors in XAML.

Parameters

message
Type: System.String

The message that describes the error.

The content of the message parameter should be understandable to the user. The caller of this constructor is required to make sure that this string has been localized for the current system culture.

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

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

Message

The error message string.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP2

Date

History

Reason

July 2008

Added topic for new class.

SP1 feature change.

Show: