SerializerProvider.UnregisterSerializer(SerializerDescriptor) Method

Definition

Deletes a serializer plug-in from the registry.

public:
 static void UnregisterSerializer(System::Windows::Documents::Serialization::SerializerDescriptor ^ serializerDescriptor);
public static void UnregisterSerializer (System.Windows.Documents.Serialization.SerializerDescriptor serializerDescriptor);
static member UnregisterSerializer : System.Windows.Documents.Serialization.SerializerDescriptor -> unit
Public Shared Sub UnregisterSerializer (serializerDescriptor As SerializerDescriptor)

Parameters

serializerDescriptor
SerializerDescriptor

The SerializerDescriptor for the plug-in.

Exceptions

serializerDescriptor is null.

The plug-in is not registered. See Remarks.

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.

Applies to