DoCallBack Method

AppDomain.DoCallBack Method (CrossAppDomainDelegate)

 

Executes the code in another application domain that is identified by the specified delegate.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

abstract DoCallBack : 
        callBackDelegate:CrossAppDomainDelegate -> unit
override DoCallBack : 
        callBackDelegate:CrossAppDomainDelegate -> unit

Parameters

callBackDelegate
Type: System.CrossAppDomainDelegate

A delegate that specifies a method to call.

Exception Condition
ArgumentNullException

callBackDelegate is null.

callBackDelegate can specify a marshal-by-value, MarshalByRefObject, or ContextBoundObject.

The following sample demonstrates using a static DoCallBack method.

No code example is currently available or this language may not be supported.

The following sample demonstrates using the DoCallBack method by value.

No code example is currently available or this language may not be supported.

The following sample demonstrates using the DoCallBack method by reference.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft