DomainOperationEntry Constructor

[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 DomainOperationEntry class.

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

Syntax

'Declaration
Protected Sub New ( _
    domainServiceType As Type, _
    name As String, _
    operation As DomainOperation, _
    returnType As Type, _
    parameters As IEnumerable(Of DomainOperationParameter), _
    attributes As AttributeCollection _
)
'Usage
Dim domainServiceType As Type
Dim name As String
Dim operation As DomainOperation
Dim returnType As Type
Dim parameters As IEnumerable(Of DomainOperationParameter)
Dim attributes As AttributeCollection

Dim instance As New DomainOperationEntry(domainServiceType, _
    name, operation, returnType, parameters, _
    attributes)
protected DomainOperationEntry(
    Type domainServiceType,
    string name,
    DomainOperation operation,
    Type returnType,
    IEnumerable<DomainOperationParameter> parameters,
    AttributeCollection attributes
)
protected:
DomainOperationEntry(
    Type^ domainServiceType, 
    String^ name, 
    DomainOperation operation, 
    Type^ returnType, 
    IEnumerable<DomainOperationParameter^>^ parameters, 
    AttributeCollection^ attributes
)
new : 
        domainServiceType:Type * 
        name:string * 
        operation:DomainOperation * 
        returnType:Type * 
        parameters:IEnumerable<DomainOperationParameter> * 
        attributes:AttributeCollection -> DomainOperationEntry
protected function DomainOperationEntry(
    domainServiceType : Type, 
    name : String, 
    operation : DomainOperation, 
    returnType : Type, 
    parameters : IEnumerable<DomainOperationParameter>, 
    attributes : AttributeCollection
)

Parameters

  • returnType
    Type: System.Type
    The return type of this operation.

See Also

Reference

DomainOperationEntry Class

System.ServiceModel.DomainServices.Server Namespace