다음을 통해 공유


IDataServiceActionProvider.TryResolveServiceAction 메서드

지정된 serviceActionName에 대해 ServiceAction을 찾습니다.

네임스페이스:  System.Data.Services.Providers
어셈블리:  Microsoft.Data.Services(Microsoft.Data.Services.dll)

구문

‘선언
Function TryResolveServiceAction ( _
    operationContext As DataServiceOperationContext, _
    serviceActionName As String, _
    <OutAttribute> ByRef serviceAction As ServiceAction _
) As Boolean
‘사용 방법
Dim instance As IDataServiceActionProvider
Dim operationContext As DataServiceOperationContext
Dim serviceActionName As String
Dim serviceAction As ServiceAction
Dim returnValue As Boolean

returnValue = instance.TryResolveServiceAction(operationContext, _
    serviceActionName, serviceAction)
bool TryResolveServiceAction(
    DataServiceOperationContext operationContext,
    string serviceActionName,
    out ServiceAction serviceAction
)
bool TryResolveServiceAction(
    DataServiceOperationContext^ operationContext, 
    String^ serviceActionName, 
    [OutAttribute] ServiceAction^% serviceAction
)
abstract TryResolveServiceAction : 
        operationContext:DataServiceOperationContext * 
        serviceActionName:string * 
        serviceAction:ServiceAction byref -> bool 
function TryResolveServiceAction(
    operationContext : DataServiceOperationContext, 
    serviceActionName : String, 
    serviceAction : ServiceAction
) : boolean

매개 변수

  • serviceActionName
    유형: System.String
    확인할 서비스 동작의 이름입니다.

반환 값

유형: System.Boolean
확인에 성공하면 true이고, 그렇지 않으면 false입니다.

참고 항목

참조

IDataServiceActionProvider 인터페이스

System.Data.Services.Providers 네임스페이스