WebPartError constructor

Constructor

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    title As String, _
    description As String _
)
'Usage
Dim title As String
Dim description As String

Dim instance As New WebPartError(title, description)
public WebPartError(
    string title,
    string description
)

Parameters

  • title
    Type: System.String

    The title text for the error message. This is assumed to *not* be HtmlEncoded.

  • description
    Type: System.String

    The description text for the error message. This is assumed to *not* be HtmlEncoded.

See also

Reference

WebPartError class

WebPartError members

Microsoft.SharePoint.WebControls namespace