Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScriptWriterException Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the ScriptWriterException class.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodScriptWriterException()

Initializes a new instance of the ScriptWriterException class.

System_CAPS_pubmethodScriptWriterException(String)

Initializes a new instance of the ScriptWriterException class, specifying the exception message.

System_CAPS_pubmethodScriptWriterException(String, Exception)

Initializes a new instance of the ScriptWriterException class, specifying the exception message, and the exception which caused the exception.

Return to top

ScriptWriterException Constructor ()

Initializes a new instance of the ScriptWriterException class.

public ScriptWriterException()
Return to top

ScriptWriterException Constructor (String)

Initializes a new instance of the ScriptWriterException class, specifying the exception message.

public ScriptWriterException(
	string message
)

Parameters

message
Type: System.String

A String which contains the message to associate with the exception.

Return to top

ScriptWriterException Constructor (String, Exception)

Initializes a new instance of the ScriptWriterException class, specifying the exception message, and the exception which caused the exception.

public ScriptWriterException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A String which contains the message to associate with the exception.

innerException
Type: System.Exception

The Exception which caused this exception.

Return to top
Show:
© 2015 Microsoft