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
매개 변수
- operationContext
유형: System.Data.Services.DataServiceOperationContext
데이터 서비스 작업 컨텍스트 인스턴스입니다.
- serviceActionName
유형: System.String
확인할 서비스 동작의 이름입니다.
- serviceAction
유형: System.Data.Services.Providers.ServiceAction%
확인에 성공하면 서비스 동작 인스턴스를 반환하고, 그렇지 않으면 null을 반환합니다.
반환 값
유형: System.Boolean
확인에 성공하면 true이고, 그렇지 않으면 false입니다.