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.
Sets a value that determines whether asynchronous methods are supported 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
Sub SetGenerateAsynchronousMethods ( _
bGenerateAsynchronousMethods As Integer _
)
void SetGenerateAsynchronousMethods(
int bGenerateAsynchronousMethods
)
void SetGenerateAsynchronousMethods(
[InAttribute] int bGenerateAsynchronousMethods
)
abstract SetGenerateAsynchronousMethods :
bGenerateAsynchronousMethods:int -> unit
function SetGenerateAsynchronousMethods(
bGenerateAsynchronousMethods : int
)
Parameters
- bGenerateAsynchronousMethods
Type: Int32
Any non-zero Integer to support asynchronous methods; otherwise 0.
Remarks
The value set by SetGenerateAsynchronousMethods determines whether the Generate asynchronous operations 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.