WebserviceTaskException Class

Definition

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)

Initializes a new instance of the WebserviceTaskException class, initializing the error message string.

WebserviceTaskException(String, Int32)

Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code.

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.

Applies to