3

I am trying to use the following command in a silverlight application "WebOperationContext.Current.OutgoingRequest.Headers.OutgoingResponse.Headers.Add". However it doesnt appear to exist. I know it does exist because it is on the microsoft documention website. Here is a link http://msdn.microsoft.com/en-us/library/system.servicemodel.web.weboperationcontext.outgoingrequest.aspx. I am guessing that it is one of those functions not available in silverlight. Any ideas on why this Add function would not be available would be appreciated.

Thanks for your time!

CodeGuyRoss
  • 786
  • 1
  • 10
  • 23
  • I think you are looking at the .NET versions of the API and not the silverlight one. – aquaraga Jun 04 '13 at 15:08
  • That is definitely possible. Thanks! – CodeGuyRoss Jun 04 '13 at 15:33
  • I still do not see the add function under the headers property on the silverlight Doc at http://msdn.microsoft.com/en-us/library/system.servicemodel.web.outgoingwebrequestcontext(v=vs.95).aspx. If it helps I am trying to reproduce the example at the following blog on opening a microsoft document using silverlight: http://blog.thekieners.com/2010/04/21/opening-an-microsoft-office-documents-with-silverlight/. I am trying to do the third step but it doesn't work because of this add function not existing – CodeGuyRoss Jun 04 '13 at 16:01

0 Answers0