ContextDisposable Constructor
Namespace: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Syntax
'Declaration
Public Sub New ( _
context As SynchronizationContext, _
disposable As IDisposable _
)
public ContextDisposable(
SynchronizationContext context,
IDisposable disposable
)
public:
ContextDisposable(
SynchronizationContext^ context,
IDisposable^ disposable
)
new :
context:SynchronizationContext *
disposable:IDisposable -> ContextDisposable
Parameters
- context
Type: System.Threading.SynchronizationContext
- disposable
Type: System.IDisposable
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.