MetadataImporter.KnownContracts Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a dictionary of contracts by name that the importer knows about.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Dictionary<XmlQualifiedName, ContractDescription> KnownContracts { get; }

Property Value

Type: System.Collections.Generic.Dictionary<XmlQualifiedName, ContractDescription>

A dictionary of contracts listed by XML qualified name.

Use the KnownContracts property to add or remove contract descriptions and their associated XML names that the importer can reference.

.NET Framework
Available since 3.0
Return to top