ClientCodeGenerationOptions.IsApplicationContextGenerationEnabled Property
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets or sets a value indicating whether to perform application-level code generation.
Namespace: Microsoft.ServiceModel.DomainServices.Tools
Assembly: Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)
Syntax
'Declaration
Public Property IsApplicationContextGenerationEnabled As Boolean
Get
Set
'Usage
Dim instance As ClientCodeGenerationOptions
Dim value As Boolean
value = instance.IsApplicationContextGenerationEnabled
instance.IsApplicationContextGenerationEnabled = value
public bool IsApplicationContextGenerationEnabled { get; set; }
public:
property bool IsApplicationContextGenerationEnabled {
bool get ();
void set (bool value);
}
member IsApplicationContextGenerationEnabled : bool with get, set
function get IsApplicationContextGenerationEnabled () : boolean
function set IsApplicationContextGenerationEnabled (value : boolean)
Property Value
Type: System.Boolean
true if application-level code generation is permitted; otherwise, false.
Remarks
This property controls whether code generation occurs for classes that are not directly tied to domain services.