InstanceNotReadyException Constructor (XName, Guid, String, Exception)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes an instance of the InstanceNotReadyException class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
commandName As XName, _
instanceId As Guid, _
message As String, _
innerException As Exception _
)
'Usage
Dim commandName As XName
Dim instanceId As Guid
Dim message As String
Dim innerException As Exception
Dim instance As New InstanceNotReadyException(commandName, _
instanceId, message, innerException)
public InstanceNotReadyException(
XName commandName,
Guid instanceId,
string message,
Exception innerException
)
public:
InstanceNotReadyException(
XName^ commandName,
Guid instanceId,
String^ message,
Exception^ innerException
)
new :
commandName:XName *
instanceId:Guid *
message:string *
innerException:Exception -> InstanceNotReadyException
Parameters
- commandName
Type: System.Xml.Linq.XName
The XName (the combination of namespace and name) of the command.
- instanceId
Type: System.Guid
The ID of the target instance against which the command was executed.
- message
Type: System.String
The reason for the exception.
- innerException
Type: System.Exception
The exception that caused the current exception.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4
See Also
Reference
InstanceNotReadyException Class
InstanceNotReadyException Members