NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Types and Objects

Key Points

NGWS Messages
  1. Type Based
    • Preserves and Extends the base Runtime Object Model
    • MetaData and Language support
  1. Objects live within a Remoting Boundary i.e. AppDomain / Context
  1. Object passed across a Remoting Boundary can be Marshal By Value - make a copy when passed across an AppDomain boundary
  1. Objects passed across a Remoting Boundary can be Marshal By Reference - hand out a proxy – transported as an OBJREF. The object remains in the AppDomain in which it was created
  1. Value Types passed across a Remoting Boundary are marshal by value
  1. Public Instance Methods are executed remote (virtual and non virtual)
  1. Public Instance Fields access are remote
  1. Public Instance Properties access are remote
  1. Public Static Methods are executed local
  1. Public Static Fields access are local
  1. Public Static Properties access are local
  1. Interfaces
  1. Parameters
    • In, Out, ByRef (In/Out), VarArgs
  1. Parameter Types
    • Primitives (Int, Float, String etc)
    • Value Types
    • Objects with embedded object references (graphs of Objects)
    • Typed References
  1. Return Types
    • Primitives (Int, Float, String etc)
    • Value Types
    • Objects
    • Typed References