Redigera

Dela via


MetadataImporter.KnownContracts Property

Definition

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

public:
 property System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::ServiceModel::Description::ContractDescription ^> ^ KnownContracts { System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::ServiceModel::Description::ContractDescription ^> ^ get(); };
public System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName,System.ServiceModel.Description.ContractDescription> KnownContracts { get; }
member this.KnownContracts : System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.ServiceModel.Description.ContractDescription>
Public ReadOnly Property KnownContracts As Dictionary(Of XmlQualifiedName, ContractDescription)

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