Partilhar 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
[SerializableAttribute] 
public class CannotCreateUserComponentException : ApplicationException
[SerializableAttribute] 
public ref class CannotCreateUserComponentException : public ApplicationException
/** @attribute SerializableAttribute() */ 
public class CannotCreateUserComponentException extends ApplicationException
SerializableAttribute 
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 Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CannotCreateUserComponentException Members
Microsoft.SqlServer.Dts.Pipeline Namespace