internal ClientRuntime CreateClientRuntime (object callbackDispatchRuntime)
{
ServiceEndpoint se = this;
var proxy = se.Contract.CreateClientRuntime (callbackDispatchRuntime);
#if !NET_2_1
foreach (IEndpointBehavior b in se.Behaviors)
b.ApplyClientBehavior (se, proxy);
foreach (IContractBehavior b in se.Contract.Behaviors)
b.ApplyClientBehavior (se.Contract, se, proxy);
#endif
return proxy;
}
}