CopyData(TMessage) Class

Tungsten Suite

CopyDataTMessage Class

Sends and receives Generics via WM_COPYDATA
Inheritance Hierarchy
SystemObject  SystemMarshalByRefObject
    System.Windows.FormsNativeWindow
      W.InterProcessCopyData
        W.InterProcessCopyDataTMessage

Namespace:  W.InterProcess
Assembly:  Tungsten.InterProcess (in Tungsten.InterProcess.dll) Version: 2.0.0
Syntax
C#
public sealed class CopyData<TMessage> : CopyData

Type Parameters

TMessage

[Missing <typeparam name="TMessage"/> documentation for "T:W.InterProcess.CopyData`1"]

The CopyDataTMessage type exposes the following members.

Constructors
  NameDescription
Public methodCopyDataTMessage(String)
Constructs a new CopyData instance which can only listen for messages
Public methodCopyDataTMessage(PredicateString, Boolean)
Constructs a new CopyData instance
Public methodCopyDataTMessage(IntPtr, PredicateString, Boolean)
Constructs a new CopyData instance
Public methodCopyDataTMessage(Form, PredicateString, Boolean)
Constructs a new CopyData instance
Top
Properties
  NameDescription
Public propertyHandle
Gets the handle for this window.
(Inherited from NativeWindow.)
Top
Methods
  NameDescription
Public methodAssignHandle
Assigns a handle to this window.
(Inherited from NativeWindow.)
Public methodCreateHandle
Creates a window and its handle with the specified creation parameters.
(Inherited from NativeWindow.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDefWndProc
Invokes the default window procedure associated with this window.
(Inherited from NativeWindow.)
Public methodDestroyHandle
Destroys the window and its handle.
(Inherited from NativeWindow.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodRefreshTargets
Refreshes the list of target windows
(Inherited from CopyData.)
Public methodReleaseHandle
Releases the handle associated with this window.
(Inherited from NativeWindow.)
Public methodSend(Byte)
Sends a message via WM_COPYDATA
(Inherited from CopyData.)
Public methodSend(TMessage)
Sends a message via WM_COPYDATA
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventBytesReceived
Raised when a message has been received
(Inherited from CopyData.)
Public eventError
Raised when an error occurs while sending or receiving messages
(Inherited from CopyData.)
Public eventMessageReceived
Raised when a message has been received
Top
Extension Methods
  NameDescription
Public Extension MethodCode exampleAsTType
Use Generic syntax for the as operator.
(Defined by AsExtensions.)
Public Extension MethodInitializeProperties

Scans the fields and properties of "owner" and sets the member's Owner property to "owner" This method should be called in the constructor of any class which has IOwnedProperty members

(Defined by PropertyHostExtensions.)
Public Extension MethodInLock(Action)Overloaded.
Performs the action in a Monitor lock
(Defined by MonitorExtensions.)
Public Extension MethodInLockTType(FuncTType)Overloaded.
Performs the function in a Monitor lock
(Defined by MonitorExtensions.)
Public Extension MethodInLockAsync(Action)Overloaded.
Asynchronously performs the action in a Monitor lock
(Defined by MonitorExtensions.)
Public Extension MethodInLockAsyncTType(FuncTType)Overloaded.
Asynchronously performs the action in a Monitor lock
(Defined by MonitorExtensions.)
Public Extension MethodIsDirty

Scans the IsDirty value of each field and property of type IProperty

(Defined by PropertyHostExtensions.)
Public Extension MethodLock
Performs a Monitor lock
(Defined by MonitorExtensions.)
Public Extension MethodMarkAsClean

Scans each field and property of type IProperty and sets it's IsDirty flag to false

(Defined by PropertyHostExtensions.)
Public Extension MethodUnlock
Performs a Monitor unlock
(Defined by MonitorExtensions.)
Top
See Also