Questa documentazione è stata archiviata e non viene gestita.

Costruttore ActionNotSupportedException (String, Exception)

Initializes a new instance of the ActionNotSupportedException class with a specified error message and a reference to the inner exception that is the cause of the exception.

Spazio dei nomi: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

public ActionNotSupportedException (
	string message,
	Exception innerException
public ActionNotSupportedException (
	String message, 
	Exception innerException
public function ActionNotSupportedException (
	message : String, 
	innerException : Exception
Non applicabile.



The error message that explains the reason for the exception.


The Exception that caused the current exception to be thrown.

Use this constructor when you want to pass an error message and information about an inner exception to the user. The content of the message parameter should be understandable to the intended users.

An exception that is thrown as a direct result of a previous exception can include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor or a riferimento null (Nothing in Visual Basic) reference (Nothing in Visual Basic) if the InnerException property does not supply the inner exception value to the constructor.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile per Pocket PC, Windows Mobile per Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in: