MetadataImporter::KnownContracts Property
.NET Framework (current version)
Gets a dictionary of contracts by name that the importer knows about.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property Dictionary<XmlQualifiedName^, ContractDescription^>^ KnownContracts { Dictionary<XmlQualifiedName^, ContractDescription^>^ 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
Available since 3.0
Show: