Click here to Skip to main content
15,878,959 members
Articles / Programming Languages / Visual Basic

Microsoft Robotics Studio (MSRS) and Windows Communication Foundation (WCF) Work Together

Rate me:
Please Sign up or sign in to vote.
4.80/5 (36 votes)
20 Oct 20066 min read 64.2K   1.1K   57  
A sample of collaboration between MSRS service and WinForm application by means of WCF services.
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using Microsoft.Dss.Core.Attributes;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using interopservices = System.Runtime.InteropServices;
using pxperformancemonitor = Robotics.PerformanceMonitor.Proxy;

[assembly: ServiceDeclaration(DssServiceDeclaration.Proxy, SourceAssemblyKey="PerformanceMonitor.Y2006.M09, Version=0.0.0.0, Culture=neutral, PublicKeyToken=12" +
    "7710c39ca251ff")]
[assembly: System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, Flags=System.Security.Permissions.SecurityPermissionFlag.Execution)]
[assembly: System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestOptional)]
[assembly: System.Security.AllowPartiallyTrustedCallersAttribute()]
[assembly: ContractNamespace(pxperformancemonitor.Contract.Identifier, ClrNamespace="Robotics.PerformanceMonitor.Proxy")]
[assembly: interopservices.ComVisible(true)]


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Israel Israel


  • Nov 2010: Code Project Contests - Windows Azure Apps - Winner
  • Feb 2011: Code Project Contests - Windows Azure Apps - Grand Prize Winner



Comments and Discussions