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.

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

Inheritance Hierarchy

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

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.