PlaybackFailureException 생성자 (String, String, String, Exception, ILastInvocationInfo, String, Object)
제공된 메시지, 개체 이름, 작업 이름, 내부 예외, 마지막 작업 정보, 테스트 컨트롤 이름 및 예외 소스 개체를 사용하여 PlaybackFailureException 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.VisualStudio.TestTools.UITest.Extension
어셈블리: Microsoft.VisualStudio.TestTools.UITest.Extension(Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
구문
‘선언
Public Sub New ( _
message As String, _
objectName As String, _
actionName As String, _
innerException As Exception, _
lastInfo As ILastInvocationInfo, _
uiTestControl As String, _
exceptionSource As Object _
)
public PlaybackFailureException(
string message,
string objectName,
string actionName,
Exception innerException,
ILastInvocationInfo lastInfo,
string uiTestControl,
Object exceptionSource
)
public:
PlaybackFailureException(
String^ message,
String^ objectName,
String^ actionName,
Exception^ innerException,
ILastInvocationInfo^ lastInfo,
String^ uiTestControl,
Object^ exceptionSource
)
new :
message:string *
objectName:string *
actionName:string *
innerException:Exception *
lastInfo:ILastInvocationInfo *
uiTestControl:string *
exceptionSource:Object -> PlaybackFailureException
public function PlaybackFailureException(
message : String,
objectName : String,
actionName : String,
innerException : Exception,
lastInfo : ILastInvocationInfo,
uiTestControl : String,
exceptionSource : Object
)
매개 변수
message
형식: String오류 메시지입니다.
objectName
형식: StringUI 테스트 작업이 실패한 UI 개체의 이름입니다.
actionName
형식: String실패한 UI 테스트 작업의 이름입니다.
innerException
형식: Exception현재 예외를 발생시킨 예외입니다.
lastInfo
형식: Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo마지막 작업 호출에 대한 재생 정보를 가진 ILastInvocationInfo 개체입니다.
uiTestControl
형식: String이름입니다.
exceptionSource
형식: Object예외 소스를 나타내는 Object입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.