ApplicationNotForegroundException.ApplicationNotForegroundException Constructor

Initializes an instance of the ApplicationNotForegroundException class.

Overload List

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

Initializes an instance of the ApplicationNotForegroundException class.

Syntax

public ApplicationNotForegroundException();

ApplicationNotForegroundException.ApplicationNotForegroundException Constructor

Initializes an instance of the ApplicationNotForegroundException class.

Syntax

public ApplicationNotForegroundException(
   string message
);

Parameters

message

System.String.  A description of the exception.

ApplicationNotForegroundException.ApplicationNotForegroundException Constructor

Initializes an instance of the ApplicationNotForegroundException class.

Syntax

public ApplicationNotForegroundException(
   string message,
   Exception inner
);

Parameters

message

System.String.  A description of the exception.

inner

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

ApplicationNotForegroundException.ApplicationNotForegroundException Constructor

Initializes an instance of the ApplicationNotForegroundException class.

Syntax

protected ApplicationNotForegroundException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info

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

context

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

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter

Assembly: Microsoft.MediaCenter.dll

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

See Also