CimException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CimException() | |
CimException(CimInstance) | |
CimException(String) | |
CimException(SerializationInfo, StreamingContext) | |
CimException(String, Exception) |
CimException()
public:
CimException();
public:
CimException();
CimException();
public CimException ();
Public Sub New ()
Applies to
CimException(CimInstance)
public:
CimException(Microsoft::Management::Infrastructure::CimInstance ^ cimError);
public CimException (Microsoft.Management.Infrastructure.CimInstance cimError);
new Microsoft.Management.Infrastructure.CimException : Microsoft.Management.Infrastructure.CimInstance -> Microsoft.Management.Infrastructure.CimException
Public Sub New (cimError As CimInstance)
Parameters
- cimError
- CimInstance
Applies to
CimException(String)
public:
CimException(System::String ^ message);
public:
CimException(Platform::String ^ message);
CimException(std::wstring const & message);
public CimException (string message);
new Microsoft.Management.Infrastructure.CimException : string -> Microsoft.Management.Infrastructure.CimException
Public Sub New (message As String)
Parameters
- message
- String
Applies to
CimException(SerializationInfo, StreamingContext)
protected:
CimException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CimException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Management.Infrastructure.CimException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Management.Infrastructure.CimException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
- context
- StreamingContext
Applies to
CimException(String, Exception)
public:
CimException(System::String ^ message, Exception ^ innerException);
public CimException (string message, Exception innerException);
new Microsoft.Management.Infrastructure.CimException : string * Exception -> Microsoft.Management.Infrastructure.CimException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
- innerException
- Exception