Share via


WebserviceTaskException Class

Contains the definition for exceptions used by the WebServiceTask.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class WebserviceTaskException _
    Inherits Exception
'Usage
Dim instance As WebserviceTaskException
[SerializableAttribute]
public class WebserviceTaskException : Exception
[SerializableAttribute]
public ref class WebserviceTaskException : public Exception
[<SerializableAttribute>]
type WebserviceTaskException =  
    class 
        inherit Exception 
    end
public class WebserviceTaskException extends Exception

The WebserviceTaskException type exposes the following members.

Constructors

  Name Description
Public method WebserviceTaskException(String) Initializes a new instance of the WebserviceTaskException class, initializing the error message string.
Public method WebserviceTaskException(SerializationInfo, StreamingContext) Initializes a new instance of the WebserviceTaskException class, initializing the SerializationInfo and StreamingContext.
Public method WebserviceTaskException(String, Int32) Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets an error code.
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Fields

  Name Description
Public fieldStatic member DEFAULT_CODE Specifies the default value of the error code.
Public fieldStatic member NOTSUPPORTED_CODE Specifies the error code used when the task encounters something that is not supported.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace