Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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: 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.