ConversationsExtensions.UpdateActivity 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UpdateActivity(IConversations, Activity) | |
UpdateActivity(IConversations, Activity) |
更新现有会话中的活动。 |
UpdateActivity(IConversations, String, String, Activity) |
UpdateActivity(IConversations, Activity)
public static Microsoft.Bot.Connector.ResourceResponse UpdateActivity (this Microsoft.Bot.Connector.IConversations operations, Microsoft.Bot.Connector.Activity activity);
static member UpdateActivity : Microsoft.Bot.Connector.IConversations * Microsoft.Bot.Connector.Activity -> Microsoft.Bot.Connector.ResourceResponse
<Extension()>
Public Function UpdateActivity (operations As IConversations, activity As Activity) As ResourceResponse
参数
- operations
- IConversations
- activity
- Activity
返回
适用于
UpdateActivity(IConversations, Activity)
更新现有会话中的活动。
public static Microsoft.Bot.Schema.ResourceResponse UpdateActivity (this Microsoft.Bot.Connector.IConversations operations, Microsoft.Bot.Schema.Activity activity);
static member UpdateActivity : Microsoft.Bot.Connector.IConversations * Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Schema.ResourceResponse
<Extension()>
Public Function UpdateActivity (operations As IConversations, activity As Activity) As ResourceResponse
参数
- operations
- IConversations
此扩展方法的操作组。
- activity
- Activity
要更新的活动。
返回
ResourceResponse。
适用于
UpdateActivity(IConversations, String, String, Activity)
public static Microsoft.Bot.Connector.ResourceResponse UpdateActivity (this Microsoft.Bot.Connector.IConversations operations, string conversationId, string activityId, Microsoft.Bot.Connector.Activity activity);
static member UpdateActivity : Microsoft.Bot.Connector.IConversations * string * string * Microsoft.Bot.Connector.Activity -> Microsoft.Bot.Connector.ResourceResponse
<Extension()>
Public Function UpdateActivity (operations As IConversations, conversationId As String, activityId As String, activity As Activity) As ResourceResponse
参数
- operations
- IConversations
- conversationId
- String
- activityId
- String
- activity
- Activity