DomainServiceClientCodeGeneratorAttribute Constructor (Type, String)
[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.]
Initializes a new instance of the DomainServiceClientCodeGeneratorAttribute class for a generator name specified by the generatorType that supports a specified language.
Namespace: Microsoft.ServiceModel.DomainServices.Tools
Assembly: Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)
Syntax
'Declaration
Public Sub New ( _
generatorType As Type, _
language As String _
)
'Usage
Dim generatorType As Type
Dim language As String
Dim instance As New DomainServiceClientCodeGeneratorAttribute(generatorType, _
language)
public DomainServiceClientCodeGeneratorAttribute(
Type generatorType,
string language
)
public:
DomainServiceClientCodeGeneratorAttribute(
Type^ generatorType,
String^ language
)
new :
generatorType:Type *
language:string -> DomainServiceClientCodeGeneratorAttribute
public function DomainServiceClientCodeGeneratorAttribute(
generatorType : Type,
language : String
)
Parameters
- generatorType
Type: System.Type
The type of the generator.
- language
Type: System.String
The language supported by this generator.
See Also
Reference
DomainServiceClientCodeGeneratorAttribute Class