Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.