LoginWindows 类在多身份验证(基于声明和表单的)环境中仅用于 ASMX 应用程序。
继承层次结构
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
WebSvcLoginWindows.LoginWindows
命名空间: WebSvcLoginWindows
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<WebServiceBindingAttribute(Name := "LoginWindowsSoap", Namespace := "https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/")> _
Public Class LoginWindows _
Inherits SoapHttpClientProtocol
用法
Dim instance As LoginWindows
[WebServiceBindingAttribute(Name = "LoginWindowsSoap", Namespace = "https://schemas.microsoft.com/office/project/server/webservices/LoginWindows/")]
public class LoginWindows : SoapHttpClientProtocol
备注
Microsoft Project Server 2013安装,仅声明身份验证中不使用LoginWindows类。由于声明的身份验证,集成的 Windows 身份验证不在 Windows 通讯基础 (WCF) 应用程序中的Login()方法调用的情况下工作正常。
有关开发基于 ASMX 的多身份验证环境中的应用程序的详细信息,请参阅Project 2013 中基于 ASMX 的代码示例的先决条件。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。