Export (0) Print
Expand All

PrimarySnapInDataException Class

.NET Framework 3.5

Represents the exception that is thrown when an extension fails to read a data object that is shared by a primary snap-in. The extension that receives this exception can catch this exception and continue functioning.

Namespace:  Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

[SerializableAttribute]
public sealed class PrimarySnapInDataException : Exception

The failure to read can be attributed to any of the following causes:

  1. The primary snap-in is shutting down and its data object is disconnected.

  2. The primary snap-in data object does not support the requested clipboard format.

  3. The MMC run-time received a failure HRESULT during a call to IDataObject.

  4. The MMC run-time received invalid out parameters after a call to IDataObject.

  5. The request to read data has timed out.

System.Object
  System.Exception
    Microsoft.ManagementConsole.Advanced.PrimarySnapInDataException

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft