MetadataImporter.KnownContracts Property

Definition

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

C#
public System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName,System.ServiceModel.Description.ContractDescription> KnownContracts { get; }

Property Value

A dictionary of contracts listed by XML qualified name.

Remarks

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

Applies to

Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1