次の方法で共有


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

'宣言
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