DomainServiceDescription.GetSubmitMethod Method

[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.]

Returns the submit method for the specified entity type and DomainOperation.

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

Syntax

'Declaration
Public Function GetSubmitMethod ( _
    entityType As Type, _
    operation As DomainOperation _
) As DomainOperationEntry
'Usage
Dim instance As DomainServiceDescription
Dim entityType As Type
Dim operation As DomainOperation
Dim returnValue As DomainOperationEntry

returnValue = instance.GetSubmitMethod(entityType, _
    operation)
public DomainOperationEntry GetSubmitMethod(
    Type entityType,
    DomainOperation operation
)
public:
DomainOperationEntry^ GetSubmitMethod(
    Type^ entityType, 
    DomainOperation operation
)
member GetSubmitMethod : 
        entityType:Type * 
        operation:DomainOperation -> DomainOperationEntry 
public function GetSubmitMethod(
    entityType : Type, 
    operation : DomainOperation
) : DomainOperationEntry

Parameters

Return Value

Type: System.ServiceModel.DomainServices.Server.DomainOperationEntry
The submit method for the specified entity type and DomainOperation or nulla null reference (Nothing in Visual Basic) if the method is not found.

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace