IWcfReferenceReceiveContextInformation::ReceiveImportContextInformation Method (IDictionary<String^, array<Byte>^>^, IServiceProvider^)
Gets additional context information.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
void ReceiveImportContextInformation( IDictionary<String^, array<unsigned char>^>^ serviceReferenceExtensionFileContents, IServiceProvider^ serviceProvider )
Parameters
- serviceReferenceExtensionFileContents
-
Type:
System.Collections.Generic::IDictionary<String^, array<Byte>^>^
Provides the content of any extension files that are associated with the .svcmap file of a WCF service reference.
- serviceProvider
-
Type:
System::IServiceProvider^
A reference to a Visual Studio service provider to be queried for additional information.
The serviceReferenceExtensionFileContents parameter provides the content of any extension files associated with the .svcmap file of a WCF service reference, such as Reference.config or custom extension files that have been added through extensibility.
Note |
|---|
Any interface received from the service provider that is specific to Visual Studio will not be available to an import extension when running in the context of an ASP.NET build provider. This is the case when a WCF service reference is compiled in an ASP.NET project. |
Available since 3.5
