Bewerken

Delen via


IWcfReferenceReceiveContextInformation.ReceiveImportContextInformation Method

Definition

Gets additional context information.

public:
 void ReceiveImportContextInformation(System::Collections::Generic::IDictionary<System::String ^, cli::array <System::Byte> ^> ^ serviceReferenceExtensionFileContents, IServiceProvider ^ serviceProvider);
public void ReceiveImportContextInformation (System.Collections.Generic.IDictionary<string,byte[]> serviceReferenceExtensionFileContents, IServiceProvider serviceProvider);
abstract member ReceiveImportContextInformation : System.Collections.Generic.IDictionary<string, byte[]> * IServiceProvider -> unit
Public Sub ReceiveImportContextInformation (serviceReferenceExtensionFileContents As IDictionary(Of String, Byte()), serviceProvider As IServiceProvider)

Parameters

serviceReferenceExtensionFileContents
IDictionary<String,Byte[]>

Provides the content of any extension files that are associated with the .svcmap file of a WCF service reference.

serviceProvider
IServiceProvider

A reference to a Visual Studio service provider to be queried for additional information.

Remarks

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.

Applies to