Differences
This shows you the differences between the selected revisions of the page.
2014-12-05 | 2014-12-05 | ||
deriving path to assembly from script path (martin) | footnote after dot (martin) | ||
Line 61: | Line 61: | ||
If you need to make use of these events: | If you need to make use of these events: | ||
* Define event handling function; | * Define event handling function; | ||
- | * Associate the event handling function with an instance of ''Session'' class using ''.add_Event'' method, where ''Event'' is a name of the event((Avoid using ''[[http://technet.microsoft.com/en-us/library/hh849929.aspx|Register-ObjectEvent]]'' cmdlet, as it introduces threading problems and possible crashes.)). | + | * Associate the event handling function with an instance of ''Session'' class using ''.add_Event'' method, where ''Event'' is a name of the event.((Avoid using ''[[http://technet.microsoft.com/en-us/library/hh849929.aspx|Register-ObjectEvent]]'' cmdlet, as it introduces threading problems and possible crashes.)) |
See following code snippet: | See following code snippet: |