WebserviceTaskException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the definition for exceptions used by the WebServiceTask.
public ref class WebserviceTaskException : Exception
[System.Serializable]
public class WebserviceTaskException : Exception
[<System.Serializable>]
type WebserviceTaskException = class
inherit Exception
Public Class WebserviceTaskException
Inherits Exception
- Inheritance
-
WebserviceTaskException
- Attributes
Constructors
WebserviceTaskException(SerializationInfo, StreamingContext) |
Initializes a new instance of the WebserviceTaskException class, initializing the SerializationInfo and StreamingContext. |
WebserviceTaskException(String, Int32) |
Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code. |
WebserviceTaskException(String) |
Initializes a new instance of the WebserviceTaskException class, initializing the error message string. |
Fields
DEFAULT_CODE |
Specifies the default value of the error code. |
NOTSUPPORTED_CODE |
Specifies the error code used when the task encounters something that is not supported. |
Properties
ErrorCode |
Gets an error code. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo with information about the exception. |