IVsWCFReferenceGroupOptions::SetGenerateMessageContracts Method (Int32)

 

Sets a value that determines whether message contracts are generated for a Windows Communication Foundation (WCF) service reference.

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

void SetGenerateMessageContracts(
	int bGenerateMessageContracts
)

Parameters

bGenerateMessageContracts
Type: System::Int32

Any non-zero Integer to generate message contracts; otherwise 0.

The value set by SetGenerateMessageContracts determines whether the Always generate message contracts option is checked in the Configure Service Reference dialog box.

Return to top
Show: