Thread Learning Notes

Source: Internet
Author: User

    1. 1. WMI(Windows Management instrumentation,windows Management specification) is a core Windows management technology; users can use WMI to manage local and remote computers.
    2. 2. embedded Chromium Framework, its main purpose is to develop a Google Chromium -based Webbrowser Control ;
    3. 3. The role of the Htppwebresponse class is used to get the appropriate information returned by the server on the client

HttpResponse class is used to set the client's corresponding information on the server

Reference URL:

Http://www.cnblogs.com/kissdodog/archive/2013/04/06/3002790.html

  1. 4. serialization, also known as Serializable, is a mechanism used by the . NET Runtime environment to support the flow of user-defined types. The purpose is to persist the custom object in some form of storage, or to transfer the object from one place to another.
  2. 5. The full name of Json is "JavaScript Object Notation", meaning JavaScript object notation, which is a text-based, language-independent, lightweight data interchange format that Web in the development process, we often need to query the data from the database ( typically a collection, a list or an array, etc. ) converted to JSON The format string is passed back to the client, which requires a sequential This is a list of JsonConvert object that SerializeObject method. Its syntax format is:jsonconvert.serializeobject (object).
  3. 6. @ effect:1 ignore escape character 2 make string cross line 3 usage in identifier

    1. 7. BackgroundWorker access to threads provides a secure way to encapsulate a thread . Used to run operations on separate threads, thread for creating and controlling classes of threads.
    2. 8. Dispose: processing, in computer technology English, is the meaning of "document destruction". Close is closed and does not release resources. is to clear the StreamReader Read and write file stream data, do not consume storage memory.
    3. 9. the main use of this column attribute method and time in the BackgroundWorker class:

Important attributes:

1.:cancellationpending Gets a value that indicates whether the application has requested to cancel the background operation, judging by the DoWork Event the cancellationpending property can determine whether background operations are required.  

2 : IsBusy gets a value that indicates BackgroundWorker If you are running an XOR operation, use the IsBusy property is used to determine whether a background operation is in use.

3 : workerreportsprogress Gets or sets a value that is just BackgroundWorker whether the report is in use.

4. the function to run when the task<tresult> is complete. At run time, the delegate is passed as a parameter to the completed task

4 : workersupportscancellation Gets or sets a value that indicates whether the BackgroundWorker whether asynchronous cancellation is supported. When set to True , the program can call the CancelAsync method to submit a terminating pending background request operation.

Important methods:

@CancelAsync     request to cancel a pending background operation

@RunWorkerAsync     start a background operation

    @ ReportProgress Trigger progresschanged time

Important Events:

@DoWork occurs when calling runwokerasync

@progresschanged occurs when calling reportprogress

@runworkcompleted occurs when a background operation is completed, canceled, or an exception is thrown

Thread Learning Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.