FocusChangeForCrossThreadClientEventArgs Constructor (IntPtr, Object)
Initializes a new instance of FocusChangeFOrCrossThreadClientEventArgs that is associated with the specified window.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
hwndGainingFocus As IntPtr, _
source As Object _
)
public FocusChangeForCrossThreadClientEventArgs(
IntPtr hwndGainingFocus,
Object source
)
public:
FocusChangeForCrossThreadClientEventArgs(
IntPtr hwndGainingFocus,
Object^ source
)
new :
hwndGainingFocus:IntPtr *
source:Object -> FocusChangeForCrossThreadClientEventArgs
public function FocusChangeForCrossThreadClientEventArgs(
hwndGainingFocus : IntPtr,
source : Object
)
Parameters
hwndGainingFocus
Type: IntPtrThe HWND of the window that is gaining focus
source
Type: ObjectThe alternate source to list as the source of the event.
.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.
See Also
Reference
FocusChangeForCrossThreadClientEventArgs Class