IVsWCFReferenceGroupOptions.SetGenerateMessageContracts Method

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)

Syntax

声明
Sub SetGenerateMessageContracts ( _
    bGenerateMessageContracts As Integer _
)
void SetGenerateMessageContracts(
    int bGenerateMessageContracts
)
void SetGenerateMessageContracts(
    [InAttribute] int bGenerateMessageContracts
)
abstract SetGenerateMessageContracts : 
        bGenerateMessageContracts:int -> unit 
function SetGenerateMessageContracts(
    bGenerateMessageContracts : int
)

Parameters

  • bGenerateMessageContracts
    Type: System.Int32
    Any non-zero Integer to generate message contracts; otherwise 0.

Remarks

The value set by SetGenerateMessageContracts 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