ServiceCommandException 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
| Name | Description |
|---|---|
| ServiceCommandException() |
unimplemented standard constructor |
| ServiceCommandException(String) |
standard constructor |
| ServiceCommandException(SerializationInfo, StreamingContext) |
serialization constructor |
| ServiceCommandException(String, Exception) |
standard constructor |
ServiceCommandException()
unimplemented standard constructor
public:
ServiceCommandException();
public:
ServiceCommandException();
ServiceCommandException();
public ServiceCommandException();
Public Sub New ()
Applies to
ServiceCommandException(String)
standard constructor
public:
ServiceCommandException(System::String ^ message);
public:
ServiceCommandException(Platform::String ^ message);
ServiceCommandException(std::wstring const & message);
public ServiceCommandException(string message);
new Microsoft.PowerShell.Commands.ServiceCommandException : string -> Microsoft.PowerShell.Commands.ServiceCommandException
Public Sub New (message As String)
Parameters
- message
- String
Applies to
ServiceCommandException(SerializationInfo, StreamingContext)
serialization constructor
protected:
ServiceCommandException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ServiceCommandException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.PowerShell.Commands.ServiceCommandException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.ServiceCommandException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
- context
- StreamingContext
Applies to
ServiceCommandException(String, Exception)
standard constructor
public:
ServiceCommandException(System::String ^ message, Exception ^ innerException);
public ServiceCommandException(string message, Exception innerException);
new Microsoft.PowerShell.Commands.ServiceCommandException : string * Exception -> Microsoft.PowerShell.Commands.ServiceCommandException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
- innerException
- Exception