다음을 통해 공유


IDbExecutionStrategy.Execute 메서드

정의

오버로드

Execute(Action)

지정된 작업을 실행합니다.

Execute<TResult>(Func<TResult>)

지정된 작업을 실행하고 결과를 반환합니다.

Execute(Action)

지정된 작업을 실행합니다.

public void Execute (Action operation);
abstract member Execute : Action -> unit
Public Sub Execute (operation As Action)

매개 변수

operation
Action

결과를 반환하지 않는 실행 파일을 나타내는 대리자입니다.

적용 대상

Execute<TResult>(Func<TResult>)

지정된 작업을 실행하고 결과를 반환합니다.

public TResult Execute<TResult> (Func<TResult> operation);
abstract member Execute : Func<'Result> -> 'Result
Public Function Execute(Of TResult) (operation As Func(Of TResult)) As TResult

형식 매개 변수

TResult

의 반환 형식입니다 operation.

매개 변수

operation
Func<TResult>

형식의 결과를 반환하는 실행 파일을 나타내는 대리자입니다 TResult.

반환

TResult

작업의 결과입니다.

적용 대상