IdeaBlade DevForce 2010 Help Reference
EntityServerException Constructor(String,Exception,PersistenceOperation,PersistenceFailure)
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityServerException Class > EntityServerException Constructor : EntityServerException Constructor(String,Exception,PersistenceOperation,PersistenceFailure)



message
A message added to describe the exception
innerException
An instance of Exception that describes the error that caused this exception
operationType
failureType
Initializes a new instance of the EntityServerException class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal message As String, _
   ByVal innerException As Exception, _
   Optional ByVal operationType As PersistenceOperation, _
   Optional ByVal failureType As PersistenceFailure _
)
Visual Basic (Usage)Copy Code
Dim message As String
Dim innerException As Exception
Dim operationType As PersistenceOperation
Dim failureType As PersistenceFailure
 
Dim instance As New EntityServerException(message, innerException, operationType, failureType)
C# 
public EntityServerException( 
   string message,
   Exception innerException,
   PersistenceOperation operationType,
   PersistenceFailure failureType
)
C++/CLI 
public:
EntityServerException( 
   String^ message,
   Exception^ innerException,
   PersistenceOperation operationType,
   PersistenceFailure failureType
)

Parameters

message
A message added to describe the exception
innerException
An instance of Exception that describes the error that caused this exception
operationType
failureType

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

© 2013 All Rights Reserved.