Compartilhar via


DomainServiceClientCodeGeneratorAttribute Constructor (String, 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 named generatorName 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 ( _
    generatorName As String, _
    language As String _
)
'Usage
Dim generatorName As String
Dim language As String

Dim instance As New DomainServiceClientCodeGeneratorAttribute(generatorName, _
    language)
public DomainServiceClientCodeGeneratorAttribute(
    string generatorName,
    string language
)
public:
DomainServiceClientCodeGeneratorAttribute(
    String^ generatorName, 
    String^ language
)
new : 
        generatorName:string * 
        language:string -> DomainServiceClientCodeGeneratorAttribute
public function DomainServiceClientCodeGeneratorAttribute(
    generatorName : String, 
    language : String
)

Parameters

  • language
    Type: System.String
    The language supported by this generator.

Remarks

The name of this generator must be unique.

See Also

Reference

DomainServiceClientCodeGeneratorAttribute Class

DomainServiceClientCodeGeneratorAttribute Overload

Microsoft.ServiceModel.DomainServices.Tools Namespace