Share via


DomainServiceDescription.AddOperation 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.]

Adds the specified operation to this description.

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

Syntax

'Declaration
Public Sub AddOperation ( _
    operation As DomainOperationEntry _
)
'Usage
Dim instance As DomainServiceDescription
Dim operation As DomainOperationEntry

instance.AddOperation(operation)
public void AddOperation(
    DomainOperationEntry operation
)
public:
void AddOperation(
    DomainOperationEntry^ operation
)
member AddOperation : 
        operation:DomainOperationEntry -> unit 
public function AddOperation(
    operation : DomainOperationEntry
)

Parameters

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace