45 references to SerializationFormat
System.Data (45)
fx\src\data\System\Data\DataException.cs (2)
1161
static public Exception InvalidRemotingFormat(
SerializationFormat
mode) {
1170
return _InvalidEnumArgumentException<
SerializationFormat
>(mode);
fx\src\data\System\Data\DataSet.cs (26)
87
private
SerializationFormat
_remotingFormat =
SerializationFormat
.Xml;
121
DefaultValue(
SerializationFormat
.Xml)
123
public
SerializationFormat
RemotingFormat {
128
if (value !=
SerializationFormat
.Binary && value !=
SerializationFormat
.Xml) {
156
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
161
remotingFormat = (
SerializationFormat
)e.Value;
165
return (remotingFormat ==
SerializationFormat
.Binary);
207
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
212
remotingFormat = (
SerializationFormat
)e.Value;
226
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
233
remotingFormat = (
SerializationFormat
)e.Value;
249
if (remotingFormat ==
SerializationFormat
.Xml && !ConstructSchema /* && this.GetType() != typeof(DataSet)*/) {
259
SerializationFormat
remotingFormat = RemotingFormat;
269
private void SerializeDataSet(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat) {
274
if (
SerializationFormat
.Xml != remotingFormat) {
284
if (remotingFormat !=
SerializationFormat
.Xml) {
341
internal void DeserializeDataSet(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat, SchemaSerializationMode schemaSerializationMode) {
349
private void DeserializeDataSetSchema(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat, SchemaSerializationMode schemaSerializationMode) {
350
if (remotingFormat !=
SerializationFormat
.Xml) {
394
private void DeserializeDataSetData(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat) {
395
if (remotingFormat !=
SerializationFormat
.Xml) {
fx\src\data\System\Data\DataTable.cs (17)
174
private
SerializationFormat
_remotingFormat =
SerializationFormat
.Xml;
213
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
218
remotingFormat = (
SerializationFormat
)e.Value;
228
SerializationFormat
remotingFormat = RemotingFormat;
234
private void SerializeDataTable(SerializationInfo info, StreamingContext context, bool isSingleTable,
SerializationFormat
remotingFormat) {
238
if (
SerializationFormat
.Xml != remotingFormat) {
242
if (remotingFormat !=
SerializationFormat
.Xml) {//Binary
263
Debug.Assert(ds.RemotingFormat ==
SerializationFormat
.Xml, "RemotingFormat must be SerializationFormat.Xml");
284
internal void DeserializeDataTable(SerializationInfo info, StreamingContext context, bool isSingleTable,
SerializationFormat
remotingFormat) {
285
if (remotingFormat !=
SerializationFormat
.Xml) {//Binary
1020
DefaultValue(
SerializationFormat
.Xml)
1022
public
SerializationFormat
RemotingFormat {
1027
if (value !=
SerializationFormat
.Binary && value !=
SerializationFormat
.Xml) {
5726
SerializationFormat
cachedRemotingFormat = this.RemotingFormat;