Past life-card ring
Basic concepts:Token-Ring is a LAN access method defined in the IEEE 802.5 standard.
The basic principle of the Ring-based network is to use a token (representing the license for sending a signal) to avoid conflicts in the network, and improve the network data transfer rate compared to the Ethernet using the conflict detection algorithm CSMA/CD. In addition, you can set the transmission priority.
Transmission Method:When data is transferred, data is sent first by the computer with the knowledge of token. The computer that receives the data will check the frame header. If it is sent to itself, it will process it. Whether it is sent to you or not, it will be passed on again. After passing a circle, check whether the data is the same to determine whether the data is transmitted incorrectly. After the data is sent, you can adjust the token priority (lower than your own priority) as needed, and then pass the token to the next computer. If you receive a token with a higher priority, you must pass the token to the next computer.
Remarks: The above is taken from Wikipedia.
Http://zh.wikipedia.org/zh-cn/%E4%BB%A4%E7%89% 8C % E7 % 8E % AF
This life-bookmarks
Concept: The Bookmark mechanism can suspend the activity at the position of the Bookmark and wait for restoration. If we need to provide additional data when the activity is not completed
You can register a bookmark for the activity. We need to use the CreateNamedBookmark method to create a bookmark. This method has three parameters, one name and one BookmarkCallback delegate. When
The task is executed when the activity is resumed. And BookmarkOptions. Runtime maintains a Bookmarks List for each workflow instance. check is returned every time a Bookmark is restored.
Bookmark is also responsible for some of the previous CorrelationToken responsibilities.
Bookmark can use the process Idle and the OnIdle that triggers the process
Member:
Use IList bookmarks = instance. GetAllBookmarks (); to obtain all bookmarks.
Resume the execution of the activity through instance. ResumeBookmark (name, str.
No return value for Bookmark
Bookmark returns a value.