ReferralException Constructor (String, Exception)
Initializes a new instance of the ReferralException class with the specified error message and the inner exception that is the cause of this exception.
Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim message As String
Dim ex As Exception
Dim referralException1 As New ReferralException(message, ex)
Syntax
'Declaration
Public Sub New( _
ByVal message As String, _
ByVal ex As Exception _
)
public ReferralException(
string message,
Exception ex
);
public:
ReferralException(
String^ message,
Exception^ ex
);
public ReferralException(
System.String message,
Exception ex
);
public function ReferralException(
message : String,
ex : Exception
);
Parameters
- message
The message that describes the error.
- ex
The Exception that is the cause of the current exception.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
ReferralException Class
ReferralException Members
Microsoft.Web.Services3.Referral Namespace