Share via


InstallationException.InstallationException Constructor

Initializes an instance of the InstallationException class.

Overload List

public InstallationException()
public InstallationException(string)
public InstallationException(string, Exception)
protected InstallationException(SerializationInfo, StreamingContext)

Initializes an instance of the InstallationException class.

Syntax

public InstallationException();

InstallationException.InstallationException Constructor

Initializes an instance of the InstallationException class.

Syntax

public InstallationException(
   string message
);

Parameters

message

System.String.  A description of the exception.

InstallationException.InstallationException Constructor

Initializes an instance of the InstallationException class.

Syntax

public InstallationMakerException(
   string message,
   Exception inner
);

Parameters

message

System.String.  A description of the exception.

inner

System.Exception.  The class on which this exception is based.

InstallationException.InstallationException Constructor

Initializes an instance of the InstallationException class.

Syntax

protected InstallationException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info

System.Runtime.Serialization.SerializationInfo.  An instance of the class containing the information needed to serialize the new InstallationException instance.

context

System.Runtime.Serialization.StreamingContext.  A structure that contains contextual information about the source of the serialized stream associated with the new InstallationException instance.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter.ListMaker

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also