你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RelayedHttpListenerContext 类

定义

提供对请求和响应对象的访问,这些对象表示对 的 HybridConnectionListener客户端请求。 这是在 System.Net.HttpListenerContext 之后建模的。

public class RelayedHttpListenerContext
type RelayedHttpListenerContext = class
Public Class RelayedHttpListenerContext
继承
RelayedHttpListenerContext

属性

Request

获取表示客户端对资源的请求的 RelayedHttpListenerRequest

Response

获取 RelayedHttpListenerResponse 对象,用于控制对客户端请求的响应。

TrackingContext

获取此侦听器上下文的 TrackingContext。

方法

ToString()

返回表示当前对象的字符串。 包含用于端到端关联的 TrackingId。

适用于