MetadataImporter.KnownContracts Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
Show: