SerializerProvider.UnregisterSerializer Method (SerializerDescriptor)

 

Deletes a serializer plug-in from the registry.

Namespace:   System.Windows.Documents.Serialization
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void UnregisterSerializer(
	SerializerDescriptor serializerDescriptor
)

Parameters

serializerDescriptor
Type: System.Windows.Documents.Serialization.SerializerDescriptor

The SerializerDescriptor for the plug-in.

Exception Condition
ArgumentNullException

serializerDescriptor is null.

ArgumentException

The plug-in is not registered. See Remarks.

Only fully trusted callers can use this method.

The method will interpret a registered plug-in as the same one passed to this method only if it is the same in all these properties: DisplayName, AssemblyName, AssemblyVersion, and WinFXVersion.

.NET Framework
Available since 3.0
Return to top
Show: