ActionNotSupportedException Constructor
Initializes a new instance of the ActionNotSupportedException class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | ActionNotSupportedException() | Initializes a new instance of the ActionNotSupportedException class. |
![]() | ActionNotSupportedException(SerializationInfo^, StreamingContext) | Initializes a new instance of the ActionNotSupportedException class with serialization information and streaming context specified. |
![]() | ActionNotSupportedException(String^) | Initializes a new instance of the ActionNotSupportedException class with a specified error message. |
![]() | 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. |
If you want to pass an error message to the user, use the ActionNotSupportedException(String^) constructor.
If you want to pass an error message and a reference to the inner exception that is the cause of the exception to the user, use the ActionNotSupportedException(String^, Exception^) constructor.
If you want to pass serialization information and streaming context, use the ActionNotSupportedException(SerializationInfo^, StreamingContext) constructor.

