﻿<?xml version="1.0" encoding="utf-8"?><Type Name="StreamingContext" FullName="System.Runtime.Serialization.StreamingContext"><TypeSignature Maintainer="auto" Language="C#" Value="public struct StreamingContext" /><TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit StreamingContext extends System.ValueType" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.ValueType</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Indicates the source or destination of the bits that the formatter uses. Classes with surrogates or that implement <see cref="T:System.Runtime.Serialization.ISerializable" /> can serialize or ignore fields and values based on the information stored in the streaming context. For example, a window handle is still valid if the <see cref="P:System.Runtime.Serialization.StreamingContext.State" /> property is set to System.Runtime.Serialization.StreamingContextStates.CrossProcess. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StreamingContext (System.Runtime.Serialization.StreamingContextStates state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Runtime.Serialization.StreamingContextStates state) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="state" Type="System.Runtime.Serialization.StreamingContextStates" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.StreamingContext" /> class with a given context state.</para></summary><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> values that specify the source or destination context for this <see cref="T:System.Runtime.Serialization.StreamingContext" />. </param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public StreamingContext (System.Runtime.Serialization.StreamingContextStates state, object additional);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Runtime.Serialization.StreamingContextStates state, object additional) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters><Parameter Name="state" Type="System.Runtime.Serialization.StreamingContextStates" /><Parameter Name="additional" Type="System.Object" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.StreamingContext" /> class with a given context state, and some additional information.</para></summary><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> values that specify the source or destination context for this <see cref="T:System.Runtime.Serialization.StreamingContext" />. </param><param name="additional"><attribution license="cc4" from="Microsoft" modified="false" />Any additional information to be associated with the <see cref="T:System.Runtime.Serialization.StreamingContext" />. This information is available to any object that implements <see cref="T:System.Runtime.Serialization.ISerializable" /> or any serialization surrogate. Most users do not need to set this parameter. </param></Docs></Member><Member MemberName="Context"><MemberSignature Language="C#" Value="public object Context { get; }" /><MemberSignature Language="ILAsm" Value=".property instance object Context" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'object'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Can be null.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets context specified as part of the additional context.</para></summary></Docs></Member><Member MemberName="Equals"><MemberSignature Language="C#" Value="public override bool Equals (object obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Two code groups are equivalent if they have the same <see cref="P:System.Runtime.Serialization.StreamingContext.Context" /> and <see cref="P:System.Runtime.Serialization.StreamingContext.State" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether two <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances contain the same values.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified object is an instance of <see cref="T:System.Runtime.Serialization.StreamingContext" /> and equals the value of the current instance; otherwise, false.</para></returns><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />An object to compare with the current instance. </param></Docs></Member><Member MemberName="GetHashCode"><MemberSignature Language="C#" Value="public override int GetHashCode ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a hash code of this object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> value that contains the source or destination of the serialization for this <see cref="T:System.Runtime.Serialization.StreamingContext" />.</para></returns></Docs></Member><Member MemberName="State"><MemberSignature Language="C#" Value="public System.Runtime.Serialization.StreamingContextStates State { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.Runtime.Serialization.StreamingContextStates State" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Runtime.Serialization.StreamingContextStates</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'StreamingContextStates'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>During serialization, the current property specifies the destination of the transmitted data. For example, when serializing data from cross-AppDomain remoting, the <see cref="T:System.Runtime.Serialization.StreamingContextStates" /> is <see cref="F:System.Runtime.Serialization.StreamingContextStates.CrossProcess" />. During deserialization, the state indicates the source of the deserialized stream.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the source or destination of the transmitted data.</para></summary></Docs></Member></Members></Type>