다음을 통해 공유


AuthorizationServiceClient 생성자

정의

오버로드

AuthorizationServiceClient(IAuthorizationService, Boolean)

AuthorizationServiceClient 클래스의 새 인스턴스를 초기화합니다.

AuthorizationServiceClient(IAuthorizationService, JoinableTaskFactory, Boolean)
사용되지 않음.

AuthorizationServiceClient 클래스의 새 인스턴스를 초기화합니다.

AuthorizationServiceClient(IAuthorizationService, Boolean)

AuthorizationServiceClient 클래스의 새 인스턴스를 초기화합니다.

public AuthorizationServiceClient(Microsoft.ServiceHub.Framework.Services.IAuthorizationService authorizationService, bool ownsAuthorizationService = true);
new Microsoft.ServiceHub.Framework.Services.AuthorizationServiceClient : Microsoft.ServiceHub.Framework.Services.IAuthorizationService * bool -> Microsoft.ServiceHub.Framework.Services.AuthorizationServiceClient
Public Sub New (authorizationService As IAuthorizationService, Optional ownsAuthorizationService As Boolean = true)

매개 변수

authorizationService
IAuthorizationService

이 instance 래핑할 권한 부여 서비스의 클라이언트 프록시입니다. 이 값은 삭제될 때 AuthorizationServiceClient 삭제됩니다(를 구현하는 IDisposable경우).

ownsAuthorizationService
Boolean

true이 instance 삭제될 때 를 삭제 authorizationService 하려면 이고, 그렇지 않으면 false입니다.

적용 대상

AuthorizationServiceClient(IAuthorizationService, JoinableTaskFactory, Boolean)

주의

Use the overload that does not accept a JoinableTaskFactory instead. This overload will be removed in a future release.

AuthorizationServiceClient 클래스의 새 인스턴스를 초기화합니다.

[System.Obsolete("Use the overload that does not accept a JoinableTaskFactory instead. This overload will be removed in a future release.", true)]
public AuthorizationServiceClient(Microsoft.ServiceHub.Framework.Services.IAuthorizationService authorizationService, Microsoft.VisualStudio.Threading.JoinableTaskFactory? joinableTaskFactory, bool ownsAuthorizationService = true);
[<System.Obsolete("Use the overload that does not accept a JoinableTaskFactory instead. This overload will be removed in a future release.", true)>]
new Microsoft.ServiceHub.Framework.Services.AuthorizationServiceClient : Microsoft.ServiceHub.Framework.Services.IAuthorizationService * Microsoft.VisualStudio.Threading.JoinableTaskFactory * bool -> Microsoft.ServiceHub.Framework.Services.AuthorizationServiceClient
Public Sub New (authorizationService As IAuthorizationService, joinableTaskFactory As JoinableTaskFactory, Optional ownsAuthorizationService As Boolean = true)

매개 변수

authorizationService
IAuthorizationService

이 instance 래핑할 권한 부여 서비스의 클라이언트 프록시입니다. 이 값은 삭제될 때 AuthorizationServiceClient 삭제됩니다(를 구현하는 IDisposable경우).

joinableTaskFactory
JoinableTaskFactory

권한 부여 서비스에 기본 스레드가 필요한 경우 교착 상태를 방지하는 수단입니다. null일 수 있습니다.

ownsAuthorizationService
Boolean

true이 instance 삭제될 때 를 삭제 authorizationService 하려면 이고, 그렇지 않으면 false입니다.

특성

적용 대상