共用方式為


ServiceCompositionException Constructors

Definition

Overloads

ServiceCompositionException()

Initializes a new instance of the ServiceCompositionException class.

ServiceCompositionException(String)

Initializes a new instance of the ServiceCompositionException class.

ServiceCompositionException(SerializationInfo, StreamingContext)

Initializes a new instance of the ServiceCompositionException class.

ServiceCompositionException(String, Exception)

Initializes a new instance of the ServiceCompositionException class.

ServiceCompositionException()

Initializes a new instance of the ServiceCompositionException class.

public:
 ServiceCompositionException();
public ServiceCompositionException ();
Public Sub New ()

Applies to

ServiceCompositionException(String)

Initializes a new instance of the ServiceCompositionException class.

public:
 ServiceCompositionException(System::String ^ message);
public ServiceCompositionException (string? message);
new Microsoft.ServiceHub.Framework.ServiceCompositionException : string -> Microsoft.ServiceHub.Framework.ServiceCompositionException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

ServiceCompositionException(SerializationInfo, StreamingContext)

Initializes a new instance of the ServiceCompositionException class.

protected:
 ServiceCompositionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ServiceCompositionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ServiceHub.Framework.ServiceCompositionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ServiceHub.Framework.ServiceCompositionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization info.

context
StreamingContext

Serialization context.

Applies to

ServiceCompositionException(String, Exception)

Initializes a new instance of the ServiceCompositionException class.

public:
 ServiceCompositionException(System::String ^ message, Exception ^ inner);
public ServiceCompositionException (string? message, Exception? inner);
new Microsoft.ServiceHub.Framework.ServiceCompositionException : string * Exception -> Microsoft.ServiceHub.Framework.ServiceCompositionException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The exception message.

inner
Exception

The inner exception.

Applies to