Share via


IVsWCFReferenceGroupOptions.GetGenerateMessageContracts Method

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)

Syntax

'Declaration
Function GetGenerateMessageContracts As Integer
int GetGenerateMessageContracts()
int GetGenerateMessageContracts()
abstract GetGenerateMessageContracts : unit -> int
function GetGenerateMessageContracts() : int

Return Value

Type: System.Int32
0 if message contracts will not be generated; otherwise any non-zero Integer.

Remarks

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

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroupOptions Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace