コード例 #1
0
 void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime clientRuntime)
 {
     m_ThreadName = m_ThreadName ?? "Executing callbacks of " + m_ClientType;
     ThreadAffinityHelper.ApplyDispatchBehavior(m_ClientType, m_ThreadName, clientRuntime.CallbackDispatchRuntime);
 }
コード例 #2
0
 void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime)
 {
     m_ThreadName = m_ThreadName ?? "Executing endpoints of " + m_ServiceType;
     ThreadAffinityHelper.ApplyDispatchBehavior(m_ServiceType, m_ThreadName, dispatchRuntime);
 }