Share via


DomainOperationParameter Constructor (String, Type, AttributeCollection)

[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 DomainOperationParameter class with the specified name, parameter type, and attribute collection.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    parameterType As Type, _
    attributes As AttributeCollection _
)
'Usage
Dim name As String
Dim parameterType As Type
Dim attributes As AttributeCollection

Dim instance As New DomainOperationParameter(name, parameterType, _
    attributes)
public DomainOperationParameter(
    string name,
    Type parameterType,
    AttributeCollection attributes
)
public:
DomainOperationParameter(
    String^ name, 
    Type^ parameterType, 
    AttributeCollection^ attributes
)
new : 
        name:string * 
        parameterType:Type * 
        attributes:AttributeCollection -> DomainOperationParameter
public function DomainOperationParameter(
    name : String, 
    parameterType : Type, 
    attributes : AttributeCollection
)

Parameters

  • parameterType
    Type: System.Type
    The type of the parameter.

See Also

Reference

DomainOperationParameter Class

DomainOperationParameter Overload

System.ServiceModel.DomainServices.Server Namespace