Share via


Microsoft.TeamFoundation.Framework.Server.WebServices.Proxy Namespace

Classes

  Class Description
Public class AllowEmptyArrayAttribute Attribute which may be used to signify that the client proxy can send an empty array and the server will distinguish between null and empty arrays.
Public class CallOnDeserializationAttribute When a class has this attribute the code generation will call the method given after the object has been fully deserialized.
Public class CallOnSerializationAttribute
Public class ClassNotSealedAttribute Attribute which may be used to change the visibility of the class and its default constructor which is generated for deserialization purposes.
Public class ClassVisibilityAttribute Attribute which may be used to change the visibility of the class and its default constructor which is generated for deserialization purposes.
Public class ClientConditionalAttribute When a method has this attribute it will be enclosed in #if DEBUG in the proxy
Public class ClientEnumAttribute
Public class ClientIgnoreAttribute When a method has this attribute, GenProxyTask will not generate a proxy method for it. Useful for skipping ILinking methods, which would generate duplicate definitions for the Artifact class.
Public class ClientPropertyAttribute Custom Team Foundation attribute which may be used to attribute server objects to modify the visibility for the client-side objects generated. The property name may be overridden by passing in a property name. The resulting field name will be the property name with the first character converted to its lowercase form, prefixed by 'm_'. A property that has Private visibility will not generate a property at all. This mechanism may be used to avoid generating extraneous properties.
Public class ClientServiceAttribute
Public class ClientServiceMethodAttribute
Public class ClientTypeAttribute When encountered provides a mapping between a server type and a client type when generating the proxy. An example of such a use may be that the client uses the URI object everywhere, but the URI object cannot be deserialized. In this case you could add a ClientType(typeof(Uri)) to the server and have the server take a string instead.
Public class ClientValueAttribute When used on enumeration fields this will override the value specified on the server to allow for values to be different on the client for the generated enumeration.
Public class CustomSerializationHooksAttribute When class has this attribute, the following methods should be defined in the shared class: private void ToXmlHook(XmlWriter writer) private static void FromXmlHook(TeamFoundationClientProxy proxy, XmlReader reader, T result) where T is deserialized type
Public class ProxyParentClassAttribute Attribute which may be used to change the parent class of the generated proxy.
Public class RequiredClientServiceAttribute Used to signify that a particular class requires a service on deserialization.

Enumerations

  Enumeration Description
Public enumeration ClientPropertySerialization Enumeration which defines the directionality of a class property
Public enumeration ClientVisibility Enumeration which defines the different visibilities available on the client.
Public enumeration ServerConfiguration