System.TypeLoadException was unhandled by user code
Message=La déclaration référencée dans une implémentation de méthode ne peut pas être une méthode finale. Type*: 'TodoProxy'. Assembly*: 'ObjectProxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
StackTrace:
à System.Reflection.Emit.TypeBuilder.TermCreateClass(RuntimeModule module, Int32 tk, ObjectHandleOnStack type)
à System.Reflection.Emit.TypeBuilder.CreateTypeNoLock()
à System.Reflection.Emit.TypeBuilder.CreateType()
à Arch.Poc.Silverlight.Models.Proxy.GetProxyType(Type type)
à Arch.Poc.Silverlight.Models.Proxy.GetProxyType[T]()
à Arch.Poc.Silverlight.Models.LinFuTest.CustomProxyFormatter..ctor(IClientMessageFormatter actual)
à Arch.Poc.Silverlight.Models.LinFuTest.CustomOperationFormatterBehavior.System.ServiceModel.Description.IOperationBehavior.ApplyClientBehavior(OperationDescription description, ClientOperation proxy)
à System.ServiceModel.Description.DispatcherBuilder.BindOperations(ContractDescription contract, ClientRuntime proxy, IDispatchRuntime dispatch)
à System.ServiceModel.Description.DispatcherBuilder.ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime clientRuntime)
à System.ServiceModel.Description.DispatcherBuilder.BuildProxyBehavior(ServiceEndpoint serviceEndpoint, BindingParameterCollection& parameters)
à System.ServiceModel.Channels.ServiceChannelFactory.BuildChannelFactory(ServiceEndpoint serviceEndpoint)
à System.ServiceModel.ChannelFactory.CreateFactory()
à System.ServiceModel.ChannelFactory.OnOpening()
à System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
à System.ServiceModel.ChannelFactory.EnsureOpened()
à System.ServiceModel.ClientBase`1.ChannelBase`1..ctor(ClientBase`1 client)
à Arch.Poc.Silverlight.CategoryService.CategoryServiceClient.CategoryServiceClientChannel..ctor(ClientBase`1 client)
à Arch.Poc.Silverlight.CategoryService.CategoryServiceClient.CreateChannel()
à System.ServiceModel.ClientBase`1.get_Channel()
à Arch.Poc.Silverlight.CategoryService.CategoryServiceClient.Arch.Poc.Silverlight.CategoryService.ICategoryService.BeginFind(AsyncCallback callback, Object asyncState)
à Arch.Poc.Silverlight.CategoryService.CategoryServiceClient.OnBeginFind(Object[] inValues, AsyncCallback callback, Object asyncState)
à System.ServiceModel.ClientBase`1.InvokeAsync(BeginOperationDelegate beginOperationDelegate, Object[] inValues, EndOperationDelegate endOperationDelegate, SendOrPostCallback operationCompletedCallback, Object userState)
InnerException:
Partager