WebApplicationFactoryClientOptions.BaseAddress 属性

定义

获取或设置通过调用 CreateClient(WebApplicationFactoryClientOptions)创建的实例的HttpClient基址。 默认值为 http://localhost

public:
 property Uri ^ BaseAddress { Uri ^ get(); void set(Uri ^ value); };
public Uri BaseAddress { get; set; }
member this.BaseAddress : Uri with get, set
Public Property BaseAddress As Uri

属性值

Uri

适用于