編輯

共用方式為


MetadataExchangeClient.ResolveMetadataReferences Property

Definition

Gets or sets a value that controls whether references to metadata are resolved.

public:
 property bool ResolveMetadataReferences { bool get(); void set(bool value); };
public bool ResolveMetadataReferences { get; set; }
member this.ResolveMetadataReferences : bool with get, set
Public Property ResolveMetadataReferences As Boolean

Property Value

true if references to metadata are resolved; otherwise, false. The default is true.

Remarks

Set the ResolveMetadataReferences property to false to prevent the resolution of references to metadata. In this case, references are returned as System.ServiceModel.Description.MetadataReference or System.ServiceModel.Description.MetadataLocation objects inside the System.ServiceModel.Description.MetadataSet.

Applies to