ITraceActivity 인터페이스
정의
Bot 디버깅에 도움이 되는 봇 논리의 점을 나타냅니다.Represents a point in a bot's logic, to help with bot debugging.
public interface ITraceActivity : Microsoft.Bot.Schema.IActivity
type ITraceActivity = interface
interface IActivity
Public Interface ITraceActivity
Implements IActivity
- 파생
- 구현
설명
추적 활동은 일반적으로 기록 기록 구성 요소에 기록 됩니다.The trace activity typically is logged by transcript history components to become part of a transcript history. 원격 디버깅 시나리오에서 작업을 디버그 흐름의 일부로 검사할 수 있도록 추적 작업을 클라이언트에 보낼 수 있습니다.In remote debugging scenarios the trace activity can be sent to the client so that the activity can be inspected as part of the debug flow.
추적 활동은 일반적으로 사용자에 게 표시 되지 않으며, 기록 로깅 및 개발자 디버깅의 내부에 있습니다.Trace activities are normally not shown to the user, and are internal to transcript logging and developer debugging.
InspectionMiddleware도 참조 하세요.See also InspectionMiddleware.
속성
ChannelData |
채널 특정 페이로드를 가져오거나 설정 합니다.Gets or sets channel-specific payload. (다음에서 상속됨 IActivity) |
ChannelId |
이 활동과 연결 된 채널을 가져오거나 설정 합니다.Gets or sets Channel this activity is associated with. (다음에서 상속됨 IActivity) |
Conversation |
이 활동과 연결 된 대화의 주소를 가져오거나 설정 합니다.Gets or sets Address for the conversation that this activity is associated with. (다음에서 상속됨 IActivity) |
Entities |
각각이 작업에 대 한 메타 데이터를 포함 하는 엔터티 개체의 컬렉션을 가져오거나 설정 합니다.Gets or sets collection of Entity objects, each of which contains metadata about this activity. 각 엔터티 개체는 형식화 됩니다.Each Entity object is typed. (다음에서 상속됨 IActivity) |
From |
보낸 사람 주소를 가져오거나 설정 합니다.Gets or sets Sender address. (다음에서 상속됨 IActivity) |
Id |
활동의 iD를 가져오거나 설정 합니다.Gets or sets iD for the activity. (다음에서 상속됨 IActivity) |
Label |
추적에 대 한 컨텍스트 정보를 제공할 수 있는 선택적 레이블을 가져오거나 설정 합니다.Gets or sets an optional label which can provide contextual information about the trace. |
LocalTimestamp |
메시지의 현지 날짜와 시간을 가져오거나 설정 합니다 (ISO-8601 형식으로 표시 됨).Gets or sets the local date and time of the message, expressed in ISO-8601 format. 예를 들면 2016-09-23T13:07:49.4714686-07:00입니다.For example, 2016-09-23T13:07:49.4714686-07:00. (다음에서 상속됨 IActivity) |
Name |
추적 작업의 이름을 가져오거나 설정 합니다.Gets or sets the name of the trace operation. |
Recipient |
메시지를 받은 주소를 가져오거나 설정 합니다.Gets or sets address that received the message. (다음에서 상속됨 IActivity) |
RelatesTo |
ConversationReference이 추적과 관련 된 및 해당 대화 내의 특정 활동을 가져오거나 설정 합니다.Gets or sets the ConversationReference, and optionally a specific activity within that conversation, that this trace is related to. |
ReplyToId |
이 작업이 응답 하는 원래 ID를 가져오거나 설정 합니다.Gets or sets the original ID this activity is a response to. (다음에서 상속됨 IActivity) |
ServiceUrl |
이 작업에 대 한 응답을 보내야 하는 서비스 URL을 가져오거나 설정 합니다.Gets or sets service URL where responses to this activity should be sent. (다음에서 상속됨 IActivity) |
Timestamp |
이 메시지를 보낸 시간 (UTC) 타임 스탬프를 가져오거나 설정 합니다.Gets or sets timestamp when this message was sent (UTC). (다음에서 상속됨 IActivity) |
Type |
작업 유형을 가져오거나 설정 합니다.Gets or sets activity type. (다음에서 상속됨 IActivity) |
Value |
또는 속성에 정의 된 대로이 추적의 콘텐츠를 가져오거나 설정 ValueType Name 합니다.Gets or sets the content for this trace, as defined by the ValueType or Name property. |
ValueType |
속성의 형식에 대 한 선택적 식별자를 가져오거나 설정 합니다 Value .Gets or sets an optional identifier for the format of the Value property. |
메서드
ApplyConversationReference(ConversationReference, Boolean) |
기존 대화 참조의 배달 정보를 사용 하 여 작업을 업데이트 합니다.Updates an activity with the delivery information from an existing conversation reference. (다음에서 상속됨 IActivity) |
AsContactRelationUpdateActivity() |
ContactRelationUpdate activity 이면 IContactRelationUpdateActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Return IContactRelationUpdateActivity if this is a contactRelationUpdate activity, null otherwise. (다음에서 상속됨 IActivity) |
AsConversationUpdateActivity() |
ConversationUpdate activity 이면 IConversationUpdateActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Return IConversationUpdateActivity if this is a conversationUpdate activity, null otherwise. (다음에서 상속됨 IActivity) |
AsEndOfConversationActivity() |
이 대화가 종료 작업 인 경우 IEndOfConversationActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Return IEndOfConversationActivity if this is an end-of-conversation activity, null otherwise. (다음에서 상속됨 IActivity) |
AsEventActivity() |
이벤트 작업 인 경우 IEventActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Returns IEventActivity if this is an event activity, null otherwise. (다음에서 상속됨 IActivity) |
AsInstallationUpdateActivity() |
설치 업데이트 작업 인 경우 I설치 Updateactivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Return IInstallationUpdateActivity if this is a installationUpdate activity, null otherwise. (다음에서 상속됨 IActivity) |
AsInvokeActivity() |
호출 작업 인 경우 IInvokeActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Returns IInvokeActivity if this is an invoke activity, null otherwise. (다음에서 상속됨 IActivity) |
AsMessageActivity() |
메시지 활동 인 경우 IMessageActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Return IMessageActivity if this is a message activity, null otherwise. (다음에서 상속됨 IActivity) |
AsMessageDeleteActivity() |
메시지 삭제 작업 인 경우 IMessageDeleteActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Returns IMessageDeleteActivity if this is a message delete activity, null otherwise. (다음에서 상속됨 IActivity) |
AsMessageReactionActivity() |
메시지 반응 작업 인 경우 IMessageDeleteActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Returns IMessageDeleteActivity if this is a message reaction activity, null otherwise. (다음에서 상속됨 IActivity) |
AsMessageUpdateActivity() |
메시지 업데이트 작업 인 경우 IMessageUpdateActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Returns IMessageUpdateActivity if this is a message update activity, null otherwise. (다음에서 상속됨 IActivity) |
AsSuggestionActivity() |
제안 활동 인 경우 IMessageDeleteActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Returns IMessageDeleteActivity if this is a suggestion activity, null otherwise. (다음에서 상속됨 IActivity) |
AsTypingActivity() |
입력 작업 인 경우 ITypingActivity를 반환 하 고 그렇지 않으면 null을 반환 합니다.Return ITypingActivity if this is a typing activity, null otherwise. (다음에서 상속됨 IActivity) |
GetChannelData<TypeT>() |
채널 데이터를 강력한 형식의 개체로 가져옵니다.Gets the channel data as strongly typed object. (다음에서 상속됨 IActivity) |
GetConversationReference() |
활동에서 대화 참조를 가져옵니다.Gets a conversation reference from an activity. (다음에서 상속됨 IActivity) |
TryGetChannelData<TypeT>(TypeT) |
Channeldata를 강력한 형식의 개체로 가져오려고 시도 합니다.Try to get the channeldata as a strongly typed object. (다음에서 상속됨 IActivity) |
확장 메서드
TeamsGetChannelId(IActivity) |
현재 작업에서 팀의 채널 id를 가져옵니다.Gets the Team's channel id from the current activity. |
TeamsGetMeetingInfo(IActivity) |
현재 활동에서 TeamsMeetingInfo 개체를 가져옵니다.Gets the TeamsMeetingInfo object from the current activity. |
TeamsGetTeamInfo(IActivity) |
현재 활동에서 TeamsInfo 개체를 가져옵니다.Gets the TeamsInfo object from the current activity. |
TeamsNotifyUser(IActivity) |
팀 내에서 알림을 생성 하도록 현재 작업을 구성 합니다.Configures the current activity to generate a notification within Teams. |
TeamsNotifyUser(IActivity, Boolean, String) |
팀 내에서 알림을 생성 하도록 현재 작업을 구성 합니다.Configures the current activity to generate a notification within Teams. |
GetLocale(IActivity) |
활동의 로캘을 가져옵니다.Gets the locale for the activity. |
SetLocale(IActivity, String) |
활동의 로캘을 설정 합니다.Sets the locale for the activity. |