SPUserCodeNoAvailableServersFoundException Constructor (String, Exception)
Initializes a new instance of the SPUserCodeNoAvailableServersFoundException class.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New SPUserCodeNoAvailableServersFoundException(message, _
innerException)
public SPUserCodeNoAvailableServersFoundException(
string message,
Exception innerException
)
Parameters
message
Type: System.StringThe error message that explains the reason for the exception.
innerException
Type: System.ExceptionThe exception that is the cause of the current exception, or a null reference if no innerException is specified.
See Also
Reference
SPUserCodeNoAvailableServersFoundException Class
SPUserCodeNoAvailableServersFoundException Members