DomainServiceDescription.GetCustomMethods 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 collection of custom methods defined for the specified entity type on the corresponding DomainService.

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

Syntax

'Declaration
Public Function GetCustomMethods ( _
    entityType As Type _
) As IEnumerable(Of DomainOperationEntry)
'Usage
Dim instance As DomainServiceDescription
Dim entityType As Type
Dim returnValue As IEnumerable(Of DomainOperationEntry)

returnValue = instance.GetCustomMethods(entityType)
public IEnumerable<DomainOperationEntry> GetCustomMethods(
    Type entityType
)
public:
IEnumerable<DomainOperationEntry^>^ GetCustomMethods(
    Type^ entityType
)
member GetCustomMethods : 
        entityType:Type -> IEnumerable<DomainOperationEntry> 
public function GetCustomMethods(
    entityType : Type
) : IEnumerable<DomainOperationEntry>

Parameters

  • entityType
    Type: System.Type
    The entity type associated with the custom methods that are to be retrieved.

Return Value

Type: System.Collections.Generic.IEnumerable<DomainOperationEntry>
The collection of custom methods defined for the specified entity type.

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace