This documentation is archived and is not being maintained.

IWcfReferenceReceiveContextInformation::ReceiveImportContextInformation Method

Gets additional context information.

Namespace:  System.Web.Compilation
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.

NoteNote

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.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: