RoleException Constructor (String)
Namespace: Microsoft.ServiceHosting.ServiceRuntime
Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)
Usage
Dim message As String
Dim instance As New RoleException(message)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
public RoleException (
string message
)
public:
RoleException (
String^ message
)
public RoleException (
String message
)
public function RoleException (
message : String
)
Parameters
- message
The message to provide when the exception occurs.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
RoleException Class
RoleException Members
Microsoft.ServiceHosting.ServiceRuntime Namespace