Delen via


CannotCreateUserComponentException Class

Exception thrown when the Script component cannot instantiate the class that contains the custom code that the developer creates in the Script component. The class is named ScriptMain by default.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SqlServer.Dts.Pipeline.CannotCreateUserComponentException

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)

Syntax

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

The CannotCreateUserComponentException type exposes the following members.

Constructors

  Name Description
Public method CannotCreateUserComponentException Initializes a new instance of the CannotCreateUserComponentException class.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Protected 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 (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

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.