LEADTOOLS Cloud (Leadtools.Services.Cloud.FaultContracts assembly)
LEAD Technologies, Inc

CloudFault Constructor(Int32,String)






The code that caused the exception.
The error message that explains the reason for the exception, or an empty string("").
Initializes a new instance of the CloudFault class.
Syntax
public CloudFault( 
   int errorId,
   string errorMessage
)
'Declaration
 
Public Function New( _
   ByVal errorId As Integer, _
   ByVal errorMessage As String _
)
'Usage
 
Dim errorId As Integer
Dim errorMessage As String
 
Dim instance As New CloudFault(errorId, errorMessage)
public CloudFault( 
   int errorId,
   string errorMessage
)
function CloudFault( 
   errorId ,
   errorMessage 
)
public:
CloudFault( 
   int errorId,
   String^ errorMessage
)

Parameters

errorId
The code that caused the exception.
errorMessage
The error message that explains the reason for the exception, or an empty string("").
Remarks
The constructor initializes the ErrorMessage property of the new instance using errorMessage and the ErrorId property of the new instance using errorId.
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

Reference

CloudFault Class
CloudFault Members
Overload List
Programming with Leadtools Cloud SDK

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.