IDataServiceMetadataProvider.TryResolveServiceOperation Method (String, ServiceOperation)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Tries to get a service operation based on the specified name.

Namespace:   System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)

bool TryResolveServiceOperation(
	string name,
	out ServiceOperation serviceOperation


Type: System.String

Name of the service operation to resolve.

Type: System.Data.Services.Providers.ServiceOperation

Returns the service operation or a null value if a service operation with the given name is not found.

Return Value

Type: System.Boolean

true when service operation with the given name is found; otherwise false.

.NET Framework
Available since 3.5
Return to top