IdeaBlade DevForce 2010 Help Reference
UseDCS Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > ObjectServerElement Class : UseDCS Property



Determines if the DataContractSerializer should be used to serialize messages to and from the Entity Service.

Syntax

Visual Basic (Declaration) 
<XmlAttributeAttribute("useDCS")>
<DescriptionAttribute("Determines the serializer to be used to serialize messages to and from the Entity Service.  Advanced feature.")>
<DefaultValueAttribute()>
Public Property UseDCS As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ObjectServerElement
Dim value As Boolean
 
instance.UseDCS = value
 
value = instance.UseDCS
C# 
[XmlAttributeAttribute("useDCS")]
[DescriptionAttribute("Determines the serializer to be used to serialize messages to and from the Entity Service.  Advanced feature.")]
[DefaultValueAttribute()]
public bool UseDCS {get; set;}
C++/CLI 
[XmlAttributeAttribute("useDCS")]
[DescriptionAttribute("Determines the serializer to be used to serialize messages to and from the Entity Service.  Advanced feature.")]
[DefaultValueAttribute()]
public:
property bool UseDCS {
   bool get();
   void set (    bool value);
}

Remarks

By default this flag is on and the DataContractSerializer is used. In WinClient applications you may instead use the NetDataContractSerializer, by setting this flag to false on both client and server.

Only use this flag if you understand the implications, and be sure that both client and server have the same flag setting.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.