Result Constructor
Initializes a new instance of the Result class.
Syntax
'Declaration Public Function New( _ ByVal isSuccess As Boolean, _ ByVal errorMessage As String _ )
'Usage Dim isSuccess As Boolean Dim errorMessage As String Dim instance As New Result(isSuccess, errorMessage)
public Result( bool isSuccess, string errorMessage )
public: Result( bool isSuccess, String^ errorMessage )
Parameters
- isSuccess
- if set to
true
[is sucess]. - errorMessage
- The error message.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also