ReceiveImportContextInformation Method
Collapse the table of content
Expand the table of content

IWcfReferenceReceiveContextInformation.ReceiveImportContextInformation Method (IDictionary<String, Byte[]>, IServiceProvider)

 

Gets additional context information.

Namespace:   System.Web.Compilation
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

void ReceiveImportContextInformation(
	IDictionary<string, byte[]> serviceReferenceExtensionFileContents,
	IServiceProvider serviceProvider
)

Parameters

serviceReferenceExtensionFileContents
Type: System.Collections.Generic.IDictionary<String, 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.

System_CAPS_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
Available since 3.5
Return to top
Show:
© 2016 Microsoft