CollectionNotAvailableException Constructor (String)

Initializes a new instance of the CollectionNotAvailableException class with the specified message text.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New CollectionNotAvailableException(message)
public CollectionNotAvailableException(
    string message
)
public:
CollectionNotAvailableException(
    String^ message
)
new : 
        message:string -> CollectionNotAvailableException
public function CollectionNotAvailableException(
    message : String
)

Parameters

  • message
    Type: System.String
    A String value that specifies the message text describing the event that caused the exception.