CollectorException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CollectorException() |
Create an instance of the exception |
CollectorException(String) |
Create an instance of the exception given an error message |
CollectorException(SerializationInfo, StreamingContext) |
Creates an instance of the exception |
CollectorException(String, Exception) |
Creates an instance of the exception given an error message and another throwing exception instance |
CollectorException()
Create an instance of the exception
public CollectorException ();
Public Sub New ()
Applies to
CollectorException(String)
Create an instance of the exception given an error message
public CollectorException (string message);
new Microsoft.SqlServer.Management.Collector.CollectorException : string -> Microsoft.SqlServer.Management.Collector.CollectorException
Public Sub New (message As String)
Parameters
- message
- String
Error message
Applies to
CollectorException(SerializationInfo, StreamingContext)
Creates an instance of the exception
public CollectorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Management.Collector.CollectorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Management.Collector.CollectorException
Public Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
- context
- StreamingContext
Applies to
CollectorException(String, Exception)
Creates an instance of the exception given an error message and another throwing exception instance
public CollectorException (string message, Exception innerException);
new Microsoft.SqlServer.Management.Collector.CollectorException : string * Exception -> Microsoft.SqlServer.Management.Collector.CollectorException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
Error message
- innerException
- Exception
A throwing exception