ActionNotSupportedException Constructor

 

Initializes a new instance of the ActionNotSupportedException class.

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

NameDescription
System_CAPS_pubmethodActionNotSupportedException()

Initializes a new instance of the ActionNotSupportedException class.

System_CAPS_protmethodActionNotSupportedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ActionNotSupportedException class with serialization information and streaming context specified.

System_CAPS_pubmethodActionNotSupportedException(String)

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

System_CAPS_pubmethodActionNotSupportedException(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.

Return to top
Show: