Dundas.SharePoint.Charting.WebParts Send comments on this topic.
CommandResult Constructor
See Also 
Dundas.Charting.WebControl Namespace > CommandResult Class : CommandResult Constructor


success
Determine if command is completeded successfully
reason
The reason if command is failed
Initializes new instance of CommandResult object.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal success As Boolean, _
   ByVal reason As String _
)
Visual Basic (Usage) Copy Code
Dim success As Boolean
Dim reason As String
 
Dim instance As CommandResult(success, reason)
C#  
public CommandResult( 
   bool success,
   string reason
)

Parameters

success
Determine if command is completeded successfully
reason
The reason if command is failed

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also