Opc.Ua.ServiceMessageContextMessageInspector.ApplyClientBehavior C# (CSharp) Method

ApplyClientBehavior() public method

Implements a modification or extension of the client across an endpoint.
public ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that is to be customized.
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime The client runtime to be customized.
return void
        public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
        {
            clientRuntime.ClientMessageInspectors.Add(this);
        }