Windows Dev Center

ObjectEventRegistrationBase.MessageData Property

Gets and sets the value of the MessageData parameter of the derived cmdlets. This property is introduced in Windows PowerShell 2.0.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As ObjectEventRegistrationBase
Dim value As PSObject

value = instance.MessageData

instance.MessageData = value

[ParameterAttribute] 
public PSObject MessageData { get; set; }
/** @property */
public PSObject get_MessageData ()

/** @property */
public void set_MessageData (PSObject value)

public function get MessageData () : PSObject

public function set MessageData (value : PSObject)

Property Value

A PSObject object that contains additional data to be associated with the event subscription.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft