WebPartPageUserException Constructor (String, Exception)
Initializes a new instance of the WebPartPageUserException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
s As String, _
inner As Exception _
)
'Usage
Dim s As String
Dim inner As Exception
Dim instance As New WebPartPageUserException(s, inner)
public WebPartPageUserException(
string s,
Exception inner
)
Parameters
s
Type: System.StringThe error message that explains the reason for the exception.
inner
Type: System.ExceptionThe inner exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Remarks
If inner is not null , the current exception is raised in a catch block that handles the inner exception.
See Also
Reference
WebPartPageUserException Class
WebPartPageUserException Members