IWcfReferenceReceiveContextInformation Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the interface to implement to obtain additional context information.
public interface class IWcfReferenceReceiveContextInformation
public interface IWcfReferenceReceiveContextInformation
type IWcfReferenceReceiveContextInformation = interface
Public Interface IWcfReferenceReceiveContextInformation
Remarks
This interface enables the WSDL importer mechanism to receive extra context information for better proxy generation and a better developer experience inside Visual Studio. If the WSDL importer implements the IWcfReferenceReceiveContextInformation interface, the ReceiveImportContextInformation
method will be called by the WCF proxy generator before any methods of IWsdlImportExtension and IPolicyImportExtension are called.
The additional context information refers to the parameters passed to the ReceiveImportContextInformation
method. The parameters include the content of any extension files and a reference to an object that implements the IServiceProvider interface. Any extension files passed to the method are specific to the importer and are used to store any additional information they need. That is, Visual Studio does not control the content of these files and does not use them directly.
Note
Importers refer to a WCF extensibility mechanism. This mechanism enables you to customize the way proxy code is generated from metadata (WSDL/XSD) documents that describe the service. For more information, see Importing Custom Metadata for a WCF Extension.
Methods
ReceiveImportContextInformation(IDictionary<String,Byte[]>, IServiceProvider) |
Gets additional context information. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기