DomainOperationParameter Constructor (String, Type, AttributeCollection, Boolean)

[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, and indicates whether the parameter is an out parameter.

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, _
    isOut As Boolean _
)
'Usage
Dim name As String
Dim parameterType As Type
Dim attributes As AttributeCollection
Dim isOut As Boolean

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

Parameters

  • parameterType
    Type: System.Type
    The type of the parameter.
  • isOut
    Type: System.Boolean
    true if the parameter is an out parameter; otherwise, false.

See Also

Reference

DomainOperationParameter Class

DomainOperationParameter Overload

System.ServiceModel.DomainServices.Server Namespace