다음을 통해 공유


WSTrustServiceContract.ApplyDispatchBehavior 메서드

Inherited from IContractBehavior. Implements a modification or extension of the client across a contract.

네임스페이스: Microsoft.IdentityModel.Protocols.WSTrust
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim instance As WSTrustServiceContract
Dim contractDescription As ContractDescription
Dim endpoint As ServiceEndpoint
Dim dispatchRuntime As DispatchRuntime

instance.ApplyDispatchBehavior(contractDescription, endpoint, dispatchRuntime)

구문

‘선언
Public Sub ApplyDispatchBehavior ( _
    contractDescription As ContractDescription, _
    endpoint As ServiceEndpoint, _
    dispatchRuntime As DispatchRuntime _
)
public void ApplyDispatchBehavior (
    ContractDescription contractDescription,
    ServiceEndpoint endpoint,
    DispatchRuntime dispatchRuntime
)
public:
virtual void ApplyDispatchBehavior (
    ContractDescription^ contractDescription, 
    ServiceEndpoint^ endpoint, 
    DispatchRuntime^ dispatchRuntime
) sealed
public final void ApplyDispatchBehavior (
    ContractDescription contractDescription, 
    ServiceEndpoint endpoint, 
    DispatchRuntime dispatchRuntime
)
public final function ApplyDispatchBehavior (
    contractDescription : ContractDescription, 
    endpoint : ServiceEndpoint, 
    dispatchRuntime : DispatchRuntime
)

매개 변수

  • contractDescription
    The contract description to be modified.
  • endpoint
    The endpoint that exposes the contract.
  • dispatchRuntime
    The dispatch runtime that controls service execution.

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

참고 항목

참조

WSTrustServiceContract 클래스
WSTrustServiceContract 멤버
Microsoft.IdentityModel.Protocols.WSTrust 네임스페이스