C# 클래스 Microsoft.Protocols.TestSuites.Common.ResponseSchemaValidationInspector

A class that is used to inject into the WCF response handle process to do schema validation.
상속: IEndpointBehavior, IClientMessageInspector
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
AddBindingParameters ( ServiceEndpoint endpoint, System bindingParameters ) : void

Pass the data at runtime to bindings to support custom behavior. The current implementation does nothing.

AfterReceiveReply ( System &reply, object correlationState ) : void

Inspect the response message and do the schema validation.

ApplyClientBehavior ( ServiceEndpoint endpoint, System clientRuntime ) : void

Add a message inspector in the specified ClientRuntime to give the ability of inspecting the request and response message.

ApplyDispatchBehavior ( ServiceEndpoint endpoint, System endpointDispatcher ) : void

Implements a modification or extension of the service across an endpoint. The current implementation does nothing.

BeforeSendRequest ( System &request, IClientChannel channel ) : object

Inspect the request message and restore this message.

Validate ( ServiceEndpoint endpoint ) : void

Implement to confirm that the endpoint meets some intended criteria. The current implementation does nothing.

메소드 상세

AddBindingParameters() 공개 메소드

Pass the data at runtime to bindings to support custom behavior. The current implementation does nothing.
public AddBindingParameters ( ServiceEndpoint endpoint, System bindingParameters ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint to modify.
bindingParameters System The objects that binding elements require to support the behavior.
리턴 void

AfterReceiveReply() 공개 메소드

Inspect the response message and do the schema validation.
public AfterReceiveReply ( System &reply, object correlationState ) : void
reply System The message to be transformed into types and handed back to the client application.
correlationState object Correlation state data
리턴 void

ApplyClientBehavior() 공개 메소드

Add a message inspector in the specified ClientRuntime to give the ability of inspecting the request and response message.
public ApplyClientBehavior ( ServiceEndpoint endpoint, System clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that is to be customized.
clientRuntime System The client runtime to be added message inspector.
리턴 void

ApplyDispatchBehavior() 공개 메소드

Implements a modification or extension of the service across an endpoint. The current implementation does nothing.
public ApplyDispatchBehavior ( ServiceEndpoint endpoint, System endpointDispatcher ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that is to be customized.
endpointDispatcher System The endpoint dispatcher to be modified or extended.
리턴 void

BeforeSendRequest() 공개 메소드

Inspect the request message and restore this message.
public BeforeSendRequest ( System &request, IClientChannel channel ) : object
request System The message to be sent to the service.
channel IClientChannel The client object channel.
리턴 object

Validate() 공개 메소드

Implement to confirm that the endpoint meets some intended criteria. The current implementation does nothing.
public Validate ( ServiceEndpoint endpoint ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint to validate.
리턴 void