|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378 |
- <?xml version="1.0" encoding="utf-8"?>
- <doc>
- <assembly>
- <name>System.Threading.Tasks</name>
- </assembly>
- <members>
- <member name="T:System.AggregateException">
- <summary>表示在应用程序执行期间发生的一个或多个错误。</summary>
- </member>
- <member name="M:System.AggregateException.#ctor">
- <summary>使用由系统提供的用来描述错误的消息初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- </member>
- <member name="M:System.AggregateException.#ctor(System.Collections.Generic.IEnumerable{System.Exception})">
- <summary>用对作为此异常原因的内部异常的引用初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- <param name="innerExceptions">导致当前异常的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="innerExceptions" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="innerExceptions" /> 的元素为 Null。</exception>
- </member>
- <member name="M:System.AggregateException.#ctor(System.Exception[])">
- <summary>用对作为此异常原因的内部异常的引用初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- <param name="innerExceptions">导致当前异常的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="innerExceptions" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="innerExceptions" /> 的元素为 Null。</exception>
- </member>
- <member name="M:System.AggregateException.#ctor(System.String)">
- <summary>使用指定的描述错误的消息初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
- </member>
- <member name="M:System.AggregateException.#ctor(System.String,System.Collections.Generic.IEnumerable{System.Exception})">
- <summary>使用指定错误信息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- <param name="message">解释异常原因的错误信息。</param>
- <param name="innerExceptions">导致当前异常的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="innerExceptions" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="innerExceptions" /> 的元素为 Null。</exception>
- </member>
- <member name="M:System.AggregateException.#ctor(System.String,System.Exception)">
- <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
- <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="innerException" /> 参数为 null。</exception>
- </member>
- <member name="M:System.AggregateException.#ctor(System.String,System.Exception[])">
- <summary>使用指定错误信息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
- <param name="message">解释异常原因的错误信息。</param>
- <param name="innerExceptions">导致当前异常的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="innerExceptions" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="innerExceptions" /> 的元素为 Null。</exception>
- </member>
- <member name="M:System.AggregateException.Flatten">
- <summary>将 <see cref="T:System.AggregateException" /> 实例平展入单个新实例。</summary>
- <returns>一个新的平展 <see cref="T:System.AggregateException" />。</returns>
- </member>
- <member name="M:System.AggregateException.GetBaseException">
- <summary>返回 <see cref="T:System.AggregateException" />,它是此异常的根本原因。</summary>
- <returns>返回 <see cref="T:System.AggregateException" />,它是此异常的根本原因。</returns>
- </member>
- <member name="M:System.AggregateException.Handle(System.Func{System.Exception,System.Boolean})">
- <summary>对此 <see cref="T:System.AggregateException" /> 所包含的每个 <see cref="T:System.Exception" /> 调用处理程序。</summary>
- <param name="predicate">要对每个异常执行的谓词。该谓词接受作为参数来处理 <see cref="T:System.Exception" />,并返回指示异常是否已处理的布尔值。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="predicate" /> 参数为 null。</exception>
- <exception cref="T:System.AggregateException">未处理此 <see cref="T:System.AggregateException" /> 包含的异常。</exception>
- </member>
- <member name="P:System.AggregateException.InnerExceptions">
- <summary>获取导致当前异常的 <see cref="T:System.Exception" /> 实例的只读集合。</summary>
- <returns>返回导致当前异常的 <see cref="T:System.Exception" /> 实例的只读集合。</returns>
- </member>
- <member name="M:System.AggregateException.ToString">
- <summary>创建并返回当前 <see cref="T:System.AggregateException" /> 的字符串表示形式。</summary>
- <returns>当前异常的字符串表示形式。</returns>
- </member>
- <member name="T:System.OperationCanceledException">
- <summary>取消线程正在执行的操作时在线程中引发的异常。</summary>
- <filterpriority>2</filterpriority>
- </member>
- <member name="M:System.OperationCanceledException.#ctor">
- <summary>使用系统提供的错误信息初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
- </member>
- <member name="M:System.OperationCanceledException.#ctor(System.String)">
- <summary>使用指定的错误信息初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
- <param name="message">描述该错误的 <see cref="T:System.String" />。</param>
- </member>
- <member name="M:System.OperationCanceledException.#ctor(System.String,System.Exception)">
- <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
- <param name="message">解释异常原因的错误信息。</param>
- <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
- </member>
- <member name="M:System.OperationCanceledException.#ctor(System.String,System.Exception,System.Threading.CancellationToken)">
- <summary>用指定的错误消息、对作为此异常原因的内部异常的引用以及取消令牌初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
- <param name="message">解释异常原因的错误信息。</param>
- <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
- <param name="token">一个与已取消的操作关联的取消标记。</param>
- </member>
- <member name="M:System.OperationCanceledException.#ctor(System.String,System.Threading.CancellationToken)">
- <summary>使用指定的错误信息和取消令牌初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
- <param name="message">解释异常原因的错误信息。</param>
- <param name="token">一个与已取消的操作关联的取消标记。</param>
- </member>
- <member name="M:System.OperationCanceledException.#ctor(System.Threading.CancellationToken)">
- <summary>用取消令牌初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
- <param name="token">一个与已取消的操作关联的取消标记。</param>
- </member>
- <member name="P:System.OperationCanceledException.CancellationToken">
- <summary>获取与已取消的操作关联的令牌。</summary>
- <returns>与已取消的操作关联的令牌,或默认令牌。</returns>
- </member>
- <member name="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder">
- <summary>表示生成器,用于返回任务的异步方法。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
- <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。</summary>
- <param name="awaiter">awaiter。</param>
- <param name="stateMachine">状态机。</param>
- <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
- <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。此方法可从部分受信任的代码调用。</summary>
- <param name="awaiter">awaiter。</param>
- <param name="stateMachine">状态机。</param>
- <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create">
- <summary>创建 <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder" /> 类的实例。</summary>
- <returns>生成器的新实例。</returns>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception)">
- <summary>标记此任务为失败并绑定指定的异常至此任务。</summary>
- <param name="exception">要绑定到任务的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exception" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">任务已完成。- 或 -该生成程序未初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult">
- <summary>将任务标记为已成功完成。</summary>
- <exception cref="T:System.InvalidOperationException">任务已完成。- 或 -该生成程序未初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
- <summary>一个生成器与指定的状态机关联。</summary>
- <param name="stateMachine">要与生成器关联的状态机实例。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="stateMachine" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">预设置状态机。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start``1(``0@)">
- <summary>开始运行有关联状态机的生成器。</summary>
- <param name="stateMachine">由引用传递的状态器实例。</param>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="stateMachine" /> 为 null。</exception>
- </member>
- <member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Task">
- <summary>获取此生成器的任务。</summary>
- <returns>此生成器的任务。</returns>
- <exception cref="T:System.InvalidOperationException">该生成程序未初始化。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1">
- <summary>表示异步方法的生成器,该生成器将返回任务并提供结果的参数。</summary>
- <typeparam name="TResult">用来完成任务的结果。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitOnCompleted``2(``0@,``1@)">
- <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。</summary>
- <param name="awaiter">awaiter。</param>
- <param name="stateMachine">状态机。</param>
- <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitUnsafeOnCompleted``2(``0@,``1@)">
- <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。此方法可从部分受信任的代码调用。</summary>
- <param name="awaiter">awaiter。</param>
- <param name="stateMachine">状态机。</param>
- <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Create">
- <summary>创建 <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1" /> 类的实例。</summary>
- <returns>生成器的新实例。</returns>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(System.Exception)">
- <summary>标记此任务为失败并绑定指定的异常至此任务。</summary>
- <param name="exception">要绑定到任务的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exception" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">任务已完成。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(`0)">
- <summary>将任务标记为已成功完成。</summary>
- <param name="result">用来完成任务的结果。</param>
- <exception cref="T:System.InvalidOperationException">任务已完成。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
- <summary>一个生成器与指定的状态机关联。</summary>
- <param name="stateMachine">要与生成器关联的状态机实例。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="stateMachine" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">预设置状态机。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start``1(``0@)">
- <summary>开始运行有关联状态机的生成器。</summary>
- <param name="stateMachine">由引用传递的状态器实例。</param>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="stateMachine" /> 为 null。</exception>
- </member>
- <member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Task">
- <summary>获取此生成器的任务。</summary>
- <returns>此生成器的任务。</returns>
- </member>
- <member name="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder">
- <summary>表示生成器,用于不返回值的异步方法。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
- <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。</summary>
- <param name="awaiter">awaiter。</param>
- <param name="stateMachine">状态机。</param>
- <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
- <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。此方法可从部分受信任的代码调用。</summary>
- <param name="awaiter">awaiter。</param>
- <param name="stateMachine">状态机。</param>
- <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Create">
- <summary>创建 <see cref="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder" /> 类的实例。</summary>
- <returns>生成器的新实例。</returns>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetException(System.Exception)">
- <summary>将一个异常绑定到该方法生成器。</summary>
- <param name="exception">要绑定的异常。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exception" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">该生成程序未初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetResult">
- <summary>标记此方法生成器为成功完成。</summary>
- <exception cref="T:System.InvalidOperationException">该生成程序未初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
- <summary>一个生成器与指定的状态机关联。</summary>
- <param name="stateMachine">要与生成器关联的状态机实例。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="stateMachine" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">预设置状态机。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start``1(``0@)">
- <summary>开始运行有关联状态机的生成器。</summary>
- <param name="stateMachine">由引用传递的状态器实例。</param>
- <typeparam name="TStateMachine">状态机的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="stateMachine" /> 为 null。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable">
- <summary>提供用于启用对任务的已配置等待的可等待对象。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.GetAwaiter">
- <summary>返回此可等待对象的 Awaiter。</summary>
- <returns>awaiter。</returns>
- </member>
- <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1">
- <summary>提供用于启用对任务的已配置等待的可等待对象。</summary>
- <typeparam name="TResult">此 <see cref="T:System.Threading.Tasks.Task`1" /> 生成的结果的类型。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.GetAwaiter">
- <summary>返回此可等待对象的 Awaiter。</summary>
- <returns>awaiter。</returns>
- </member>
- <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter">
- <summary>提供可等待对象 (<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1" />) 的 Awaiter。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult">
- <summary>结束对已完成任务的等待。</summary>
- <returns>已完成任务的结果。</returns>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
- <exception cref="T:System.Exception">该任务在出错状态下完成。</exception>
- </member>
- <member name="P:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.IsCompleted">
- <summary>获取一个值,该值指定等待中的任务是否已完成。</summary>
- <returns>如果已成功完成等待任务,则为 true;否则为 false。</returns>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.OnCompleted(System.Action)">
- <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
- <param name="continuation">在等待操作完成时要调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数为 null。</exception>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.UnsafeOnCompleted(System.Action)">
- <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
- <param name="continuation">在等待操作完成时要调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数为 null。</exception>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter">
- <summary>提供可等待 (<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable" />) 对象的 Awaiter。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult">
- <summary>结束对已完成任务的等待。</summary>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
- <exception cref="T:System.Exception">该任务在出错状态下完成。</exception>
- </member>
- <member name="P:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.IsCompleted">
- <summary>获取指定长期任务是否复杂的值。</summary>
- <returns>如果已成功完成等待任务,则为 true;否则为 false。</returns>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(System.Action)">
- <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
- <param name="continuation">在等待操作完成时要调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数为 null。</exception>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.UnsafeOnCompleted(System.Action)">
- <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
- <param name="continuation">在等待操作完成时要调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数为 null。</exception>
- <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.IAsyncStateMachine">
- <summary>表示为异步方法生成的状态机。此类别仅供编译器使用。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext">
- <summary>移动此状态机至其下一个状态。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
- <summary>使用堆分配的副本配置该状态机。</summary>
- <param name="stateMachine">堆分配的副本。</param>
- </member>
- <member name="T:System.Runtime.CompilerServices.ICriticalNotifyCompletion">
- <summary>表示等候程序,其计划等待操作完成时的后续部分。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted(System.Action)">
- <summary>计划实例完成时调用的延续操作。</summary>
- <param name="continuation">要在操作完成时调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数是 null(在 Visual Basic 中为 Nothing)。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.INotifyCompletion">
- <summary>表示操作,其计划等待操作完成时的后续部分。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.INotifyCompletion.OnCompleted(System.Action)">
- <summary>计划实例完成时调用的延续操作。</summary>
- <param name="continuation">要在操作完成时调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数是 null(在 Visual Basic 中为 Nothing)。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.TaskAwaiter">
- <summary>提供对象,其等待异步任务的完成。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.TaskAwaiter.GetResult">
- <summary>异步任务完成后关闭等待任务。</summary>
- <exception cref="T:System.NullReferenceException">
- <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象未正确地初始化。</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
- <exception cref="T:System.Exception">在 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态中完成的任务。</exception>
- </member>
- <member name="P:System.Runtime.CompilerServices.TaskAwaiter.IsCompleted">
- <summary>获取一个值,该值指示异步任务是否已完成。</summary>
- <returns>如果该任务已完成,则为 true;否则为 false。</returns>
- <exception cref="T:System.NullReferenceException">
- <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.TaskAwaiter.OnCompleted(System.Action)">
- <summary>将操作设置为当 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象停止等待异步任务完成时执行。</summary>
- <param name="continuation">在等待操作完成时要执行的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 为 null。</exception>
- <exception cref="T:System.NullReferenceException">
- <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.TaskAwaiter.UnsafeOnCompleted(System.Action)">
- <summary>计划与此 awaiter 相关异步任务的延续操作。</summary>
- <param name="continuation">在等待操作完成时要调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">等待未正确地初始化。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.TaskAwaiter`1">
- <summary>表示等待完成的异步任务的对象,并提供结果的参数。</summary>
- <typeparam name="TResult">任务的结果。</typeparam>
- </member>
- <member name="M:System.Runtime.CompilerServices.TaskAwaiter`1.GetResult">
- <summary>异步任务完成后关闭等待任务。</summary>
- <returns>已完成任务的结果。</returns>
- <exception cref="T:System.NullReferenceException">
- <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象未正确地初始化。</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
- <exception cref="T:System.Exception">在 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态中完成的任务。</exception>
- </member>
- <member name="P:System.Runtime.CompilerServices.TaskAwaiter`1.IsCompleted">
- <summary>获取一个值,该值指示异步任务是否已完成。</summary>
- <returns>如果该任务已完成,则为 true;否则为 false。</returns>
- <exception cref="T:System.NullReferenceException">
- <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.TaskAwaiter`1.OnCompleted(System.Action)">
- <summary>将操作设置为当 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象停止等待异步任务完成时执行。</summary>
- <param name="continuation">在等待操作完成时要执行的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 为 null。</exception>
- <exception cref="T:System.NullReferenceException">
- <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象未正确地初始化。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.TaskAwaiter`1.UnsafeOnCompleted(System.Action)">
- <summary>计划与此 awaiter 相关异步任务的延续操作。</summary>
- <param name="continuation">在等待操作完成时要调用的操作。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 为 null。</exception>
- <exception cref="T:System.InvalidOperationException">等待未正确地初始化。</exception>
- </member>
- <member name="T:System.Runtime.CompilerServices.YieldAwaitable">
- <summary>提供上下文,用于在异步切换到目标环境时等待。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.YieldAwaitable.GetAwaiter">
- <summary>为此类的实例检索 <see cref="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter" /> 对象。</summary>
- <returns>用于监视异步操作是否完成的对象。</returns>
- </member>
- <member name="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter">
- <summary>提供等待器,用于切换至目标环境。</summary>
- </member>
- <member name="M:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.GetResult">
- <summary>结束等待操作。</summary>
- </member>
- <member name="P:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.IsCompleted">
- <summary>获取一个值,该值指示是否需要一个 yield。</summary>
- <returns>始终 false,指示 yield 始终是 <see cref="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter" /> 所必需的。</returns>
- </member>
- <member name="M:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.OnCompleted(System.Action)">
- <summary>设置延续以调用。</summary>
- <param name="continuation">要异步调用的调用。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 为 null。</exception>
- </member>
- <member name="M:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.UnsafeOnCompleted(System.Action)">
- <summary>发送 <paramref name="continuation" /> 回到当前上下文。</summary>
- <param name="continuation">要异步调用的调用。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="continuation" /> 参数为 null。</exception>
- </member>
- <member name="T:System.Threading.CancellationToken">
- <summary>传播有关应取消操作的通知。</summary>
- </member>
- <member name="M:System.Threading.CancellationToken.#ctor(System.Boolean)">
- <summary>初始化 <see cref="T:System.Threading.CancellationToken" />。</summary>
- <param name="canceled">标记的已取消状态。</param>
- </member>
- <member name="P:System.Threading.CancellationToken.CanBeCanceled">
- <summary>获取此标记是否能处于已取消状态。</summary>
- <returns>如果此标记能处于已取消状态,则为 true;否则为 false。</returns>
- </member>
- <member name="M:System.Threading.CancellationToken.Equals(System.Object)">
- <summary>确定当前的 <see cref="T:System.Threading.CancellationToken" /> 实例是否等于指定的 <see cref="T:System.Object" />。</summary>
- <returns>如果 <paramref name="other" /> 为 <see cref="T:System.Threading.CancellationToken" /> 并且两个实例相等,则为 true;否则为 false。如果两个标记与同一 <see cref="T:System.Threading.CancellationTokenSource" /> 关联,或者它们均是根据公共 CancellationToken 构造函数构造并且其 <see cref="P:System.Threading.CancellationToken.IsCancellationRequested" /> 值相等,则两个标记相等。</returns>
- <param name="other">要与此实例进行比较的其他对象。</param>
- <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.Equals(System.Threading.CancellationToken)">
- <summary>确定当前的 <see cref="T:System.Threading.CancellationToken" /> 实例是否等于指定的标记。</summary>
- <returns>如果两个实例相等,则为 true;否则为 false。如果两个标记与同一 <see cref="T:System.Threading.CancellationTokenSource" /> 关联,或者它们均是根据公共 CancellationToken 构造函数构造并且其 <see cref="P:System.Threading.CancellationToken.IsCancellationRequested" /> 值相等,则两个标记相等。</returns>
- <param name="other">要与此实例进行比较的另一个 <see cref="T:System.Threading.CancellationToken" />。</param>
- </member>
- <member name="M:System.Threading.CancellationToken.GetHashCode">
- <summary>作为 <see cref="T:System.Threading.CancellationToken" /> 的哈希函数。</summary>
- <returns>当前 <see cref="T:System.Threading.CancellationToken" /> 实例的哈希代码。</returns>
- </member>
- <member name="P:System.Threading.CancellationToken.IsCancellationRequested">
- <summary>获取是否已请求取消此标记。</summary>
- <returns>如果已请求取消此标记,则为 true;否则为 false。</returns>
- </member>
- <member name="P:System.Threading.CancellationToken.None">
- <summary>返回一个空 <see cref="T:System.Threading.CancellationToken" /> 值。</summary>
- <returns>一个空取消标记。</returns>
- </member>
- <member name="M:System.Threading.CancellationToken.op_Equality(System.Threading.CancellationToken,System.Threading.CancellationToken)">
- <summary>确定两个 <see cref="T:System.Threading.CancellationToken" /> 实例是否相等。</summary>
- <returns>如果两个实例相等,则为 true;否则为 false。</returns>
- <param name="left">第一个实例。</param>
- <param name="right">第二个实例。</param>
- <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.op_Inequality(System.Threading.CancellationToken,System.Threading.CancellationToken)">
- <summary>确定两个 <see cref="T:System.Threading.CancellationToken" /> 实例是否不相等。</summary>
- <returns>如果实例不相等,则为 true;否则为 false。</returns>
- <param name="left">第一个实例。</param>
- <param name="right">第二个实例。</param>
- <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.Register(System.Action)">
- <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
- <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
- <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
- <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="callback" /> is null.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.Register(System.Action,System.Boolean)">
- <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
- <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
- <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
- <param name="useSynchronizationContext">一个布尔值,该值指示是否捕获当前 <see cref="T:System.Threading.SynchronizationContext" /> 并在调用 <paramref name="callback" /> 时使用它。</param>
- <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="callback" /> is null.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.Register(System.Action{System.Object},System.Object)">
- <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
- <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
- <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
- <param name="state">要在调用委托时传递给 <paramref name="callback" /> 的状态。这可能为 null。</param>
- <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="callback" /> is null.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.Register(System.Action{System.Object},System.Object,System.Boolean)">
- <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
- <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
- <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
- <param name="state">要在调用委托时传递给 <paramref name="callback" /> 的状态。这可能为 null。</param>
- <param name="useSynchronizationContext">一个布尔值,该值指示是否捕获当前 <see cref="T:System.Threading.SynchronizationContext" /> 并在调用 <paramref name="callback" /> 时使用它。</param>
- <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="callback" /> is null.</exception>
- </member>
- <member name="M:System.Threading.CancellationToken.ThrowIfCancellationRequested">
- <summary>如果已请求取消此标记,则引发 <see cref="T:System.OperationCanceledException" />。</summary>
- <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
- <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- </member>
- <member name="P:System.Threading.CancellationToken.WaitHandle">
- <summary>获取在取消标记时收到信号的 <see cref="T:System.Threading.WaitHandle" />。</summary>
- <returns>在取消标记时收到信号的 <see cref="T:System.Threading.WaitHandle" />。</returns>
- <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- </member>
- <member name="T:System.Threading.CancellationTokenRegistration">
- <summary>表示已向 <see cref="T:System.Threading.CancellationToken" /> 注册的回调委托。</summary>
- </member>
- <member name="M:System.Threading.CancellationTokenRegistration.Dispose">
- <summary>释放由 <see cref="T:System.Threading.CancellationTokenRegistration" /> 类的当前实例占用的所有资源。</summary>
- </member>
- <member name="M:System.Threading.CancellationTokenRegistration.Equals(System.Object)">
- <summary>确定当前的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否等于指定的 <see cref="T:System.Threading.CancellationTokenRegistration" />。</summary>
- <returns>如果此实例和 <paramref name="obj" /> 相等,则为 true。否则为 false。如果两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例均引用对相同 <see cref="T:System.Threading.CancellationToken" /> Register 方法的单一调用的输出,则这两个实例相等。</returns>
- <param name="obj">要与此实例进行比较的其他对象。</param>
- </member>
- <member name="M:System.Threading.CancellationTokenRegistration.Equals(System.Threading.CancellationTokenRegistration)">
- <summary>确定当前的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否等于指定的 <see cref="T:System.Threading.CancellationTokenRegistration" />。</summary>
- <returns>如果此实例和 <paramref name="other" /> 相等,则为 true。否则为 false。 如果两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例均引用对相同 <see cref="T:System.Threading.CancellationToken" /> Register 方法的单一调用的输出,则这两个实例相等。</returns>
- <param name="other">要与此实例进行比较的其他 <see cref="T:System.Threading.CancellationTokenRegistration" />。</param>
- </member>
- <member name="M:System.Threading.CancellationTokenRegistration.GetHashCode">
- <summary>作为 <see cref="T:System.Threading.CancellationTokenRegistration" /> 的哈希函数。</summary>
- <returns>当前 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例的哈希代码。</returns>
- </member>
- <member name="M:System.Threading.CancellationTokenRegistration.op_Equality(System.Threading.CancellationTokenRegistration,System.Threading.CancellationTokenRegistration)">
- <summary>确定两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否相等。</summary>
- <returns>如果两个实例相等,则为 true;否则为 false。</returns>
- <param name="left">第一个实例。</param>
- <param name="right">第二个实例。</param>
- </member>
- <member name="M:System.Threading.CancellationTokenRegistration.op_Inequality(System.Threading.CancellationTokenRegistration,System.Threading.CancellationTokenRegistration)">
- <summary>确定两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否不相等。</summary>
- <returns>如果两个实例不相等,则为 true;否则为 false。</returns>
- <param name="left">第一个实例。</param>
- <param name="right">第二个实例。</param>
- </member>
- <member name="T:System.Threading.CancellationTokenSource">
- <summary>向应该被取消的 <see cref="T:System.Threading.CancellationToken" /> 发送信号。</summary>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.#ctor">
- <summary>初始化 <see cref="T:System.Threading.CancellationTokenSource" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.#ctor(System.Int32)">
- <summary>初始化 <see cref="T:System.Threading.CancellationTokenSource" /> 类的新实例,在指定的延迟(以毫秒为单位)后将被取消。</summary>
- <param name="millisecondsDelay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间间隔(以毫秒为单位)。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsDelay" /> is less than -1. </exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.#ctor(System.TimeSpan)">
- <summary>初始化 <see cref="T:System.Threading.CancellationTokenSource" /> 类的新实例,在指定的时间跨度后将被取消。</summary>
- <param name="delay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间间隔。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="delay" />.<see cref="P:System.TimeSpan.TotalMilliseconds" /> is less than -1 or greater than <see cref="F:System.Int32.MaxValue" />.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.Cancel">
- <summary>传达取消请求。</summary>
- <exception cref="T:System.ObjectDisposedException">This <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.AggregateException">An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated <see cref="T:System.Threading.CancellationToken" />.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.Cancel(System.Boolean)">
- <summary>传达对取消的请求,并指定是否应处理其余回调和可取消操作。</summary>
- <param name="throwOnFirstException">如果可以立即传播异常,则为 true;否则为 false。</param>
- <exception cref="T:System.ObjectDisposedException">This <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.AggregateException">An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated <see cref="T:System.Threading.CancellationToken" />.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.CancelAfter(System.Int32)">
- <summary>在指定的毫秒数后计划对此 <see cref="T:System.Threading.CancellationTokenSource" /> 的取消操作。</summary>
- <param name="millisecondsDelay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间范围。</param>
- <exception cref="T:System.ObjectDisposedException">The exception thrown when this <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The exception thrown when <paramref name="millisecondsDelay" /> is less than -1.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.CancelAfter(System.TimeSpan)">
- <summary>在指定的时间跨度后计划对此 <see cref="T:System.Threading.CancellationTokenSource" /> 的取消操作。</summary>
- <param name="delay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间范围。</param>
- <exception cref="T:System.ObjectDisposedException">The exception thrown when this <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when <paramref name="delay" /> is less than -1 or greater than Int32.MaxValue.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.CreateLinkedTokenSource(System.Threading.CancellationToken,System.Threading.CancellationToken)">
- <summary>创建一个将在任何源标记处于取消状态时处于取消状态的 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
- <returns>一个链接到源标记的 <see cref="T:System.Threading.CancellationTokenSource" />。</returns>
- <param name="token1">要观察的第一个取消标记。</param>
- <param name="token2">要观察的第二个取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">A <see cref="T:System.Threading.CancellationTokenSource" /> associated with one of the source tokens has been disposed.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.CreateLinkedTokenSource(System.Threading.CancellationToken[])">
- <summary>创建一个将在在指定的数组中任何源标记处于取消状态时处于取消状态的 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
- <returns>一个链接到源标记的 <see cref="T:System.Threading.CancellationTokenSource" />。</returns>
- <param name="tokens">包含要观察的取消标记实例的数组。</param>
- <exception cref="T:System.ObjectDisposedException">A <see cref="T:System.Threading.CancellationTokenSource" /> associated with one of the source tokens has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tokens" /> is null.</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tokens" /> is empty.</exception>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.Dispose">
- <summary>释放 <see cref="T:System.Threading.CancellationTokenSource" /> 类的当前实例所使用的所有资源。</summary>
- </member>
- <member name="M:System.Threading.CancellationTokenSource.Dispose(System.Boolean)">
- <summary>释放 <see cref="T:System.Threading.CancellationTokenSource" /> 类使用的非托管资源,并可以选择释放托管资源。</summary>
- <param name="disposing">若要释放托管资源和非托管资源,则为 true;若仅释放非托管资源,则为 false。</param>
- </member>
- <member name="P:System.Threading.CancellationTokenSource.IsCancellationRequested">
- <summary>获取是否已请求取消此 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
- <returns>如果已请求取消此 <see cref="T:System.Threading.CancellationTokenSource" />,则为 true;否则为 false。</returns>
- </member>
- <member name="P:System.Threading.CancellationTokenSource.Token">
- <summary>获取与此 <see cref="T:System.Threading.CancellationToken" /> 关联的 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
- <returns>与此 <see cref="T:System.Threading.CancellationToken" /> 关联的 <see cref="T:System.Threading.CancellationTokenSource" />。</returns>
- <exception cref="T:System.ObjectDisposedException">The token source has been disposed.</exception>
- </member>
- <member name="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair">
- <summary>提供任务计划程序,其用于执行任务,同时确保并发任务可同时运行,而独占任务从不运行。</summary>
- </member>
- <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor">
- <summary>初始化 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor(System.Threading.Tasks.TaskScheduler)">
- <summary>用指定的计划程序目标初始化 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例。</summary>
- <param name="taskScheduler">应执行的目标计划程序。</param>
- </member>
- <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor(System.Threading.Tasks.TaskScheduler,System.Int32)">
- <summary>初始化针对最大并发级别的指定计划程序 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例。</summary>
- <param name="taskScheduler">应执行的目标计划程序。</param>
- <param name="maxConcurrencyLevel">并发运行的最大任务数。</param>
- </member>
- <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor(System.Threading.Tasks.TaskScheduler,System.Int32,System.Int32)">
- <summary>初始化 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例,该实例针对最大并发级别和最大计划任务数的指定计划程序,并可能作为一个单元来处理。</summary>
- <param name="taskScheduler">应执行的目标计划程序。</param>
- <param name="maxConcurrencyLevel">并发运行的最大任务数。</param>
- <param name="maxItemsPerTask">要处理的被成对用于每一个基础计划任务的最大任务数。</param>
- </member>
- <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.Complete">
- <summary>通知不能接受更多任务的计划程序对。</summary>
- </member>
- <member name="P:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.Completion">
- <summary>当调度程序已经完成处理过程时,获取将要完成的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>计划程序完成处理时将完成的异步操作。</returns>
- </member>
- <member name="P:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.ConcurrentScheduler">
- <summary>获取可用于调度任务到此添加线对的 <see cref="T:System.Threading.Tasks.TaskScheduler" />,其中的线对可以与此线对上的其他任务同时运行。</summary>
- <returns>可用于当前安排任务的对象。</returns>
- </member>
- <member name="P:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.ExclusiveScheduler">
- <summary>获取可用于调度任务到此添加线对的 <see cref="T:System.Threading.Tasks.TaskScheduler" />,其中的线对必须独占地运行,不考虑此线对上的其他任务。</summary>
- <returns>可用于安排任务没有与其他任务并发运行的对象。</returns>
- </member>
- <member name="T:System.Threading.Tasks.Task">
- <summary>表示一个异步操作。若要浏览此类型的 .NET Framework 源代码,请参阅引用源。</summary>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action)">
- <summary>使用指定的操作初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action,System.Threading.CancellationToken)">
- <summary>使用指定的操作和 <see cref="T:System.Threading.Tasks.Task" /> 初始化新的 <see cref="T:System.Threading.CancellationToken" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="cancellationToken">新任务将观察的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed. </exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的操作和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="cancellationToken">新任务将观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的操作和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object)">
- <summary>使用指定的操作和状态初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="state">一个表示由该操作使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object,System.Threading.CancellationToken)">
- <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="state">一个表示由该操作使用的数据的对象。</param>
- <param name="cancellationToken">新任务将观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="state">一个表示由该操作使用的数据的对象。</param>
- <param name="cancellationToken">新任务将观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <param name="action">表示要在任务中执行的代码的委托。</param>
- <param name="state">一个表示由该操作使用的数据的对象。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- </member>
- <member name="P:System.Threading.Tasks.Task.AsyncState">
- <summary>获取在创建 <see cref="T:System.Threading.Tasks.Task" /> 时提供的状态对象,如果未提供,则为 null。</summary>
- <returns>一个 <see cref="T:System.Object" />,表示在创建任务时传递给该任务的状态数据。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.CompletedTask">
- <summary>获取一个已成功完成的任务。</summary>
- <returns>已成功完成的任务。</returns>
- </member>
- <member name="M:System.Threading.Tasks.Task.ConfigureAwait(System.Boolean)">
- <summary>配置用于等待此 <see cref="T:System.Threading.Tasks.Task" />的 awaiter。</summary>
- <returns>用于的等待此任务的对象。</returns>
- <param name="continueOnCapturedContext">尝试将延续任务封送回原始上下文,则为 true;否则为 false。</param>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task})">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时可接收取消标记并以异步方式执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed. </exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标任务完成时按照指定的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 执行的延续任务。延续任务会收到一个取消标记,并使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个在目标任务完成时按照指定的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行的延续任务。延续任务使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. -or-The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息并执行的延续任务。</summary>
- <returns>一个新的延续任务。</returns>
- <param name="continuationAction">在任务完成时要运行的操作。运行时,委托作为一个参数传递给完成的任务和调用方提供的状态对象。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息和取消标记,并以异步方式执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息和取消标记并执行的延续任务。延续任务根据一组指定的条件执行,并使用指定的计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息并执行的延续任务。延续任务根据一组指定的条件执行。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息并以异步方式执行的延续任务。延续任务使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0})">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行并返回一个值的延续任务。</summary>
- <returns>一个新的延续任务。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行并返回一个值的延续任务。延续任务收到取消标记。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个按照指定延续任务选项执行并返回一个值的延续任务。延续任务被传入一个取消标记,并使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">根据 <paramref name="continuationOptions." /> 中指定的条件运行函数。在运行时,委托将作为一个自变量传递给完成的任务。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个按照指定延续任务选项执行并返回一个值的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行并返回一个值的延续任务。延续任务使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成并返回一个值时接收调用方提供的状态信息并以异步方式执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成并返回一个值时异步执行的延续任务。延续任务接收调用方提供的状态信息和取消标记。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成并返回一个值时根据指定的任务延续选项执行的延续任务。延续任务接收调用方提供的状态信息和取消标记,并使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时根据指定的任务延续选项执行的延续任务。延续任务接收调用方提供的状态信息。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行的延续任务。延续任务接收调用方提供的状态信息,并使用指定计划程序。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="P:System.Threading.Tasks.Task.CreationOptions">
- <summary>获取用于创建此任务的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</summary>
- <returns>用于创建此任务的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.CurrentId">
- <summary>返回当前正在执行 <see cref="T:System.Threading.Tasks.Task" /> 的唯一 ID。</summary>
- <returns>系统分配给当前正在执行的任务的一个整数。</returns>
- </member>
- <member name="M:System.Threading.Tasks.Task.Delay(System.Int32)">
- <summary>创建将在时间延迟后完成的任务。</summary>
- <returns>表示时间延迟的任务。</returns>
- <param name="millisecondsDelay">在完成返回的任务前要等待的毫秒数;如果无限期等待,则为 -1。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Delay(System.Int32,System.Threading.CancellationToken)">
- <summary>创建将在时间延迟后完成的可取消任务。</summary>
- <returns>表示时间延迟的任务。</returns>
- <param name="millisecondsDelay">在完成返回的任务前要等待的毫秒数;如果无限期等待,则为 -1。</param>
- <param name="cancellationToken">将在完成返回的任务之前选中的取消标记。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1. </exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled. </exception>
- <exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Delay(System.TimeSpan)">
- <summary>创建一个在指定的时间间隔后完成的任务。</summary>
- <returns>表示时间延迟的任务。</returns>
- <param name="delay">在完成返回的任务前等待的时间跨度;如果无限期等待,则为 TimeSpan.FromMilliseconds(-1)。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="delay" /> represents a negative time interval other than TimeSpan.FromMillseconds(-1). -or-The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Delay(System.TimeSpan,System.Threading.CancellationToken)">
- <summary>创建一个在指定的时间间隔后完成的可取消任务。</summary>
- <returns>表示时间延迟的任务。</returns>
- <param name="delay">在完成返回的任务前等待的时间跨度;如果无限期等待,则为 TimeSpan.FromMilliseconds(-1)。</param>
- <param name="cancellationToken">将在完成返回的任务之前选中的取消标记。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="delay" /> represents a negative time interval other than TimeSpan.FromMillseconds(-1). -or-The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed. </exception>
- </member>
- <member name="P:System.Threading.Tasks.Task.Exception">
- <summary>获取导致 <see cref="T:System.AggregateException" /> 提前结束的 <see cref="T:System.Threading.Tasks.Task" />。如果 <see cref="T:System.Threading.Tasks.Task" /> 成功完成或尚未引发任何异常,这将返回 null。</summary>
- <returns>导致 <see cref="T:System.AggregateException" /> 提前结束的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.Factory">
- <summary>提供对用于创建 <see cref="T:System.Threading.Tasks.Task" /> 和 <see cref="T:System.Threading.Tasks.Task`1" /> 的工厂方法的访问。</summary>
- <returns>一个工厂对象,可创建多种 <see cref="T:System.Threading.Tasks.Task" /> 和 <see cref="T:System.Threading.Tasks.Task`1" /> 对象。</returns>
- </member>
- <member name="M:System.Threading.Tasks.Task.FromCanceled(System.Threading.CancellationToken)">
- <summary>创建 <see cref="T:System.Threading.Tasks.Task" />,它因指定的取消标记进行的取消操作而完成。</summary>
- <returns>取消的任务。</returns>
- <param name="cancellationToken">完成任务的取消标记。</param>
- </member>
- <member name="M:System.Threading.Tasks.Task.FromCanceled``1(System.Threading.CancellationToken)">
- <summary>创建 <see cref="T:System.Threading.Tasks.Task`1" />,它因指定的取消标记进行的取消操作而完成。</summary>
- <returns>取消的任务。</returns>
- <param name="cancellationToken">完成任务的取消标记。</param>
- <typeparam name="TResult">任务返回的结果的类型。</typeparam>
- </member>
- <member name="M:System.Threading.Tasks.Task.FromException``1(System.Exception)">
- <summary>创建 <see cref="T:System.Threading.Tasks.Task`1" />,它是以指定的异常来完成的。</summary>
- <returns>出错的任务。</returns>
- <param name="exception">完成任务的异常。</param>
- <typeparam name="TResult">任务返回的结果的类型。</typeparam>
- </member>
- <member name="M:System.Threading.Tasks.Task.FromException(System.Exception)">
- <summary>创建 <see cref="T:System.Threading.Tasks.Task" />,它是以指定的异常来完成的。</summary>
- <returns>出错的任务。</returns>
- <param name="exception">完成任务的异常。</param>
- </member>
- <member name="M:System.Threading.Tasks.Task.FromResult``1(``0)">
- <summary>创建指定结果的、成功完成的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已成功完成的任务。</returns>
- <param name="result">存储入已完成任务的结果。</param>
- <typeparam name="TResult">任务返回的结果的类型。</typeparam>
- </member>
- <member name="M:System.Threading.Tasks.Task.GetAwaiter">
- <summary>获取用于等待此 <see cref="T:System.Threading.Tasks.Task" /> 的 awaiter。</summary>
- <returns>一个 awaiter 实例。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.Id">
- <summary>获取此 <see cref="T:System.Threading.Tasks.Task" /> 实例的唯一 ID。</summary>
- <returns>系统分配给此任务实例的一个整数。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.IsCanceled">
- <summary>获取此 <see cref="T:System.Threading.Tasks.Task" /> 实例是否由于被取消的原因而已完成执行。</summary>
- <returns>如果任务由于被取消而完成,则为 true;否则为 false。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.IsCompleted">
- <summary>获取此 <see cref="T:System.Threading.Tasks.Task" /> 是否已完成。</summary>
- <returns>如果任务已完成,则为 true;否则为 false。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.IsFaulted">
- <summary>获取 <see cref="T:System.Threading.Tasks.Task" /> 是否由于未经处理异常的原因而完成。</summary>
- <returns>如果任务引发了未经处理的异常,则为 true;否则为 false。</returns>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run(System.Action)">
- <summary>将在线程池上运行的指定工作排队,并返回该工作的任务句柄。</summary>
- <returns>表示在线程池执行的队列的任务。</returns>
- <param name="action">以异步方式执行的工作量。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> parameter was null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run(System.Action,System.Threading.CancellationToken)">
- <summary>将在线程池上运行的指定工作排队,并返回该工作的任务句柄。</summary>
- <returns>表示在线程池执行的队列的任务。</returns>
- <param name="action">以异步方式执行的工作量。</param>
- <param name="cancellationToken">应用以取消工作的取消标记</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> parameter was null.</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{System.Threading.Tasks.Task{``0}})">
- <summary>将在线程池上运行的指定工作排队,并返回 Task(TResult) 返回的 <paramref name="function" /> 的代理项。</summary>
- <returns>表示由 Task(TResult) 返回的 Task(TResult) 的代理的 <paramref name="function" />。</returns>
- <param name="function">以异步方式执行的工作量。</param>
- <typeparam name="TResult">代理任务返回的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken)">
- <summary>将在线程池上运行的指定工作排队,并返回 Task(TResult) 返回的 <paramref name="function" /> 的代理项。</summary>
- <returns>表示由 Task(TResult) 返回的 Task(TResult) 的代理的 <paramref name="function" />。</returns>
- <param name="function">以异步方式执行的工作量。</param>
- <param name="cancellationToken">应用以取消工作的取消标记</param>
- <typeparam name="TResult">代理任务返回的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run(System.Func{System.Threading.Tasks.Task})">
- <summary>将在线程池上运行的指定工作排队,并返回 <paramref name="function" /> 返回的任务的代理项。</summary>
- <returns>表示由 <paramref name="function" /> 返回的任务代理的任务。</returns>
- <param name="function">以异步方式执行的工作量。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run(System.Func{System.Threading.Tasks.Task},System.Threading.CancellationToken)">
- <summary>将在线程池上运行的指定工作排队,并返回 <paramref name="function" /> 返回的任务的代理项。</summary>
- <returns>表示由 <paramref name="function" /> 返回的任务代理的任务。</returns>
- <param name="function">以异步方式执行的工作。</param>
- <param name="cancellationToken">应用以取消工作的取消标记。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{``0})">
- <summary>将在线程池上运行的指定工作排队,并返回代表该工作的 <see cref="T:System.Threading.Tasks.Task`1" /> 对象。</summary>
- <returns>表示在线程池中排队执行的工作的任务对象。</returns>
- <param name="function">以异步方式执行的工作。</param>
- <typeparam name="TResult">任务的返回类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter is null. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{``0},System.Threading.CancellationToken)">
- <summary>将在线程池上运行的指定工作排队,并返回该工作的 Task(TResult) 句柄。</summary>
- <returns>表示在线程池执行的队列的 Task(TResult)。</returns>
- <param name="function">以异步方式执行的工作量。</param>
- <param name="cancellationToken">应用以取消工作的取消标记</param>
- <typeparam name="TResult">任务的结果类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
- <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.RunSynchronously">
- <summary>对当前的 <see cref="T:System.Threading.Tasks.Task" /> 同步运行 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
- <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.RunSynchronously(System.Threading.Tasks.TaskScheduler)">
- <summary>对提供的 <see cref="T:System.Threading.Tasks.Task" /> 同步运行 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
- <param name="scheduler">尝试对其以内联方式运行此任务的计划程序。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Start">
- <summary>启动 <see cref="T:System.Threading.Tasks.Task" />,并将它安排到当前的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 中执行。</summary>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
- <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Start(System.Threading.Tasks.TaskScheduler)">
- <summary>启动 <see cref="T:System.Threading.Tasks.Task" />,并将它安排到指定的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 中执行。</summary>
- <param name="scheduler">要与之关联并执行此任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
- </member>
- <member name="P:System.Threading.Tasks.Task.Status">
- <summary>获取此任务的 <see cref="T:System.Threading.Tasks.TaskStatus" />。</summary>
- <returns>此任务实例的当前 <see cref="T:System.Threading.Tasks.TaskStatus" />。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task.System#IAsyncResult#AsyncWaitHandle">
- <summary>获取可用于等待任务完成的 <see cref="T:System.Threading.WaitHandle" />。</summary>
- <returns>可用于等待任务完成的 <see cref="T:System.Threading.WaitHandle" />。</returns>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- </member>
- <member name="P:System.Threading.Tasks.Task.System#IAsyncResult#CompletedSynchronously">
- <summary>获取操作是否已同步完成的指示。</summary>
- <returns>如果操作同步完成,则为 true;否则为 false。</returns>
- </member>
- <member name="M:System.Threading.Tasks.Task.Wait">
- <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 完成执行过程。</summary>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Wait(System.Int32)">
- <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 在指定的毫秒数内完成执行。</summary>
- <returns>如果在分配的时间内 true 完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
- <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
- <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Wait(System.Int32,System.Threading.CancellationToken)">
- <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 完成执行过程。如果在任务完成之前超时间隔结束或取消标记已取消,等待将终止。</summary>
- <returns>如果在分配的时间内 true 完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
- <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
- <param name="cancellationToken">等待任务完成期间要观察的取消标记。</param>
- <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
- <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Wait(System.Threading.CancellationToken)">
- <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 完成执行过程。如果在任务完成之前取消标记已取消,等待将终止。</summary>
- <param name="cancellationToken">等待任务完成期间要观察的取消标记。</param>
- <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
- <exception cref="T:System.ObjectDisposedException">The task has been disposed.</exception>
- <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Wait(System.TimeSpan)">
- <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 在指定的时间间隔内完成执行。</summary>
- <returns>如果在分配的时间内 true 完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
- <param name="timeout">表示等待毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
- <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[])">
- <summary>等待提供的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程。</summary>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.-or-The <paramref name="tasks" /> argument contains a null element.</exception>
- <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> exception contains an <see cref="T:System.OperationCanceledException" /> exception in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.Int32)">
- <summary>等待所有提供的 <see cref="T:System.Threading.Tasks.Task" /> 在指定的毫秒数内完成执行。</summary>
- <returns>如果在分配的时间内所有 true 实例都已完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
- <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)">
- <summary>等待提供的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的毫秒数内完成执行,或等到取消等待。</summary>
- <returns>如果在分配的时间内所有 true 实例都已完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
- <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.Threading.CancellationToken)">
- <summary>等待提供的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程(除非取消等待)。</summary>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled. </exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.TimeSpan)">
- <summary>等待所有提供的可取消 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的时间间隔内完成执行。</summary>
- <returns>如果在分配的时间内所有 true 实例都已完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="timeout">表示等待毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
- <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null. </exception>
- <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[])">
- <summary>等待提供的任一 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程。</summary>
- <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.Int32)">
- <summary>等待任何提供的 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的毫秒数内完成执行。</summary>
- <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引,如果发生超时,则为 -1。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)">
- <summary>等待提供的任何 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的毫秒数内完成执行,或等到取消标记取消。</summary>
- <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引,如果发生超时,则为 -1。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
- <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.Threading.CancellationToken)">
- <summary>等待提供的任何 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程(除非取消等待)。</summary>
- <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.TimeSpan)">
- <summary>等待任何提供的 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的时间间隔内完成执行。</summary>
- <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引,如果发生超时,则为 -1。</returns>
- <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
- <param name="timeout">表示等待毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAll``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})">
- <summary>创建一个任务,该任务将在可枚举集合中的所有 <see cref="T:System.Threading.Tasks.Task`1" /> 对象都完成时完成。</summary>
- <returns>表示所有提供的任务的完成情况的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <typeparam name="TResult">已完成任务的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> collection contained a null task. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAll(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task})">
- <summary>创建一个任务,该任务将在可枚举集合中的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象都完成时完成。</summary>
- <returns>表示所有提供的任务的完成情况的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null. </exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> collection contained a null task.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAll(System.Threading.Tasks.Task[])">
- <summary>创建一个任务,该任务将在数组中的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象都完成时完成。</summary>
- <returns>表示所有提供的任务的完成情况的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null. </exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAll``1(System.Threading.Tasks.Task{``0}[])">
- <summary>创建一个任务,该任务将在数组中的所有 <see cref="T:System.Threading.Tasks.Task`1" /> 对象都完成时完成。</summary>
- <returns>表示所有提供的任务的完成情况的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <typeparam name="TResult">已完成任务的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAny``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})">
- <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
- <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <typeparam name="TResult">已完成任务的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAny(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task})">
- <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
- <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAny(System.Threading.Tasks.Task[])">
- <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
- <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.WhenAny``1(System.Threading.Tasks.Task{``0}[])">
- <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
- <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
- <param name="tasks">等待完成的任务。</param>
- <typeparam name="TResult">已完成任务的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
- <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task.Yield">
- <summary>创建异步产生当前上下文的等待任务。</summary>
- <returns>等待时,上下文将异步转换回等待时的当前上下文。如果当前 <see cref="T:System.Threading.SynchronizationContext" /> 不为 null,则将其视为当前上下文。否则,与当前执行任务关联的任务计划程序将视为当前上下文。</returns>
- </member>
- <member name="T:System.Threading.Tasks.Task`1">
- <summary>表示一个可以返回值的异步操作。</summary>
- <typeparam name="TResult">此 <see cref="T:System.Threading.Tasks.Task`1" /> 生成的结果的类型。</typeparam>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0})">
- <summary>使用指定的函数初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0},System.Threading.CancellationToken)">
- <summary>使用指定的函数初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="cancellationToken">将指派给此任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的函数和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0},System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的函数和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object)">
- <summary>使用指定的函数和状态初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="state">一个表示由该操作使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken)">
- <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="state">一个表示将由此函数使用的数据的对象。</param>
- <param name="cancellationToken">将指派给此新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="state">一个表示将由此函数使用的数据的对象。</param>
- <param name="cancellationToken">将指派给此新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
- <param name="state">一个表示将由此函数使用的数据的对象。</param>
- <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ConfigureAwait(System.Boolean)">
- <summary>配置用于等待此 <see cref="T:System.Threading.Tasks.Task`1" />的 awaiter。</summary>
- <returns>用于的等待此任务的对象。</returns>
- <param name="continueOnCapturedContext">尝试将延续任务封送回原始上下文,则为 true;否则为 false。</param>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}})">
- <summary>创建一个在目标任务完成时异步执行的延续任务。</summary>
- <returns>一个新的延续任务。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed. </exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的可取消延续任务。</summary>
- <returns>一个新的延续任务。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。在运行时,委托作为一个参数传递给完成的任务。</param>
- <param name="cancellationToken">传递给新的延续任务的取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed. </exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <paramref name="continuationOptions" /> 中指定的条件的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object)">
- <summary>创建一个传递了状态信息并在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,委托作为一个参数传递给完成的任务和调用方提供的状态对象。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续操作使用的数据的对象。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. </exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null. </exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0})">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">根据 <paramref name="continuationOptions" /> 中指定的条件运行函数。在运行时,委托将作为一个参数传递给此完成的任务。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">根据 <paramref name="continuationOptions" /> 中指定的条件运行函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.CancellationToken)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
- <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
- <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
- <param name="state">一个表示由该延续功能使用的数据的对象。</param>
- <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
- <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
- </member>
- <member name="P:System.Threading.Tasks.Task`1.Factory">
- <summary>提供对用于创建和配置 <see cref="T:System.Threading.Tasks.Task`1" /> 实例的工厂方法的访问。</summary>
- <returns>一个工厂对象,可创建多种 <see cref="T:System.Threading.Tasks.Task`1" /> 对象。</returns>
- </member>
- <member name="M:System.Threading.Tasks.Task`1.GetAwaiter">
- <summary>获取用于等待此 <see cref="T:System.Threading.Tasks.Task`1" /> 的 awaiter。</summary>
- <returns>一个 awaiter 实例。</returns>
- </member>
- <member name="P:System.Threading.Tasks.Task`1.Result">
- <summary>获取此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值。</summary>
- <returns>此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值,该值类型与任务参数类型相同。</returns>
- <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
- </member>
- <member name="T:System.Threading.Tasks.TaskCanceledException">
- <summary>表示一个用于告知任务取消的异常。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor">
- <summary>使用由系统提供的用来描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor(System.String)">
- <summary>使用指定的描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
- <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor(System.String,System.Exception)">
- <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
- <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
- <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor(System.Threading.Tasks.Task)">
- <summary>使用对已取消的 <see cref="T:System.Threading.Tasks.Task" /> 的引用初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
- <param name="task">已取消的任务。</param>
- </member>
- <member name="P:System.Threading.Tasks.TaskCanceledException.Task">
- <summary>获取与此异常关联的任务。</summary>
- <returns>对与此异常关联的 <see cref="T:System.Threading.Tasks.Task" /> 的引用。</returns>
- </member>
- <member name="T:System.Threading.Tasks.TaskCompletionSource`1">
- <summary>表示未绑定到委托的 <see cref="T:System.Threading.Tasks.Task`1" /> 的制造者方,并通过 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 属性提供对使用者方的访问。</summary>
- <typeparam name="TResult">与此 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 关联的结果值的类型。</typeparam>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor(System.Object)">
- <summary>使用指定的状态创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
- <param name="state">要用作基础 <see cref="T:System.Threading.Tasks.Task`1" /> 的 AsyncState 的状态。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor(System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的状态和选项创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
- <param name="state">要用作基础 <see cref="T:System.Threading.Tasks.Task`1" /> 的 AsyncState 的状态。</param>
- <param name="creationOptions">创建基础 <see cref="T:System.Threading.Tasks.Task`1" /> 时要使用的选项。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 表示与 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 一起使用时无效的选项。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor(System.Threading.Tasks.TaskCreationOptions)">
- <summary>使用指定的选项创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
- <param name="creationOptions">创建基础 <see cref="T:System.Threading.Tasks.Task`1" /> 时要使用的选项。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 表示与 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 一起使用时无效的选项。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetCanceled">
- <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" /> 状态。</summary>
- <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />;或者基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已被释放。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetException(System.Collections.Generic.IEnumerable{System.Exception})">
- <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
- <param name="exceptions">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常的集合。</param>
- <exception cref="T:System.ObjectDisposedException">
- <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exceptions" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">在 <paramref name="exceptions" /> 中有一个或多个 null 元素。</exception>
- <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、<see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetException(System.Exception)">
- <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
- <param name="exception">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常。</param>
- <exception cref="T:System.ObjectDisposedException">
- <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exception" /> 参数为 null。</exception>
- <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、<see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetResult(`0)">
- <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" /> 状态。</summary>
- <param name="result">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值。</param>
- <exception cref="T:System.ObjectDisposedException">
- <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
- <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、<see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />。</exception>
- </member>
- <member name="P:System.Threading.Tasks.TaskCompletionSource`1.Task">
- <summary>获取由此 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 创建的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>返回由此 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 创建的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetCanceled">
- <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" /> 状态。</summary>
- <returns>如果操作成功,则为 true;如果操作失败或对象已被释放,则为 false。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetCanceled(System.Threading.CancellationToken)">
- <summary>尝试,则过渡基础<see cref="T:System.Threading.Tasks.Task`1" />到<see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />状态,并使用于存储在已取消的任务的取消标记。</summary>
- <returns>如果操作成功,则为 true;否则为 false。</returns>
- <param name="cancellationToken">取消标记。 </param>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetException(System.Collections.Generic.IEnumerable{System.Exception})">
- <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
- <returns>如果操作成功,则为 true;否则为 false。</returns>
- <param name="exceptions">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常的集合。</param>
- <exception cref="T:System.ObjectDisposedException">
- <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exceptions" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">在 <paramref name="exceptions" /> 中有一个或多个 null 元素。- 或 -<paramref name="exceptions" /> 集合是空的。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetException(System.Exception)">
- <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
- <returns>如果操作成功,则为 true;否则为 false。</returns>
- <param name="exception">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常。</param>
- <exception cref="T:System.ObjectDisposedException">
- <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="exception" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetResult(`0)">
- <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" /> 状态。</summary>
- <returns>如果操作成功,则为 true;否则为 false。</returns>
- <param name="result">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值。</param>
- </member>
- <member name="T:System.Threading.Tasks.TaskContinuationOptions">
- <summary>为通过使用 <see cref="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)" /> 或 <see cref="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskContinuationOptions)" /> 方法创建的任务指定行为。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent">
- <summary>如果延续为子任务,则指定将延续附加到任务层次结构中的父级。只有当延续前面的任务也是子任务时,延续才可以是子任务。默认情况下,子任务(即由外部任务创建的内部任务)将独立于其父任务执行。可以使用 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent" /> 选项以便将父任务和子任务同步。请注意,如果使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach" /> 选项配置父任务,则子任务中的 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项不起作用,并且子任务将作为分离的子任务执行。有关详细信息,请参阅附加和分离的子任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.DenyChildAttach">
- <summary>指定任何使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项创建,并尝试作为附加的子任务执行的子任务(即,由此延续创建的任何嵌套内部任务)都无法附加到父任务,会改成作为分离的子任务执行。有关详细信息,请参阅已附加和已分离的子任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously">
- <summary>指定应同步执行延续任务。指定此选项后,延续任务在导致前面的任务转换为其最终状态的相同线程上运行。如果在创建延续任务时已经完成前面的任务,则延续任务将在创建此延续任务的线程上运行。如果前面任务的 <see cref="T:System.Threading.CancellationTokenSource" /> 已在一个 finally(在 Visual Basic 中为 Finally)块中释放,则使用此选项的延续任务将在该 finally 块中运行。只应同步执行运行时间非常短的延续任务。由于任务以同步方式执行,因此无需调用诸如 <see cref="M:System.Threading.Tasks.Task.Wait" /> 的方法来确保调用线程等待任务完成。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.HideScheduler">
- <summary>指定由延续通过调用方法 <see cref="M:System.Threading.Tasks.Task.Run(System.Action)" /> 或 <see cref="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task})" /> 创建的任务视默认计划程序 (<see cref="P:System.Threading.Tasks.TaskScheduler.Default" />) 为当前的计划程序,而不是正在运行该延续的计划程序。 </summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.LazyCancellation">
- <summary>在延续取消的情况下,防止延续的完成直到完成先前的任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.LongRunning">
- <summary>指定延续将是长期运行的、粗粒度的操作。它会向 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 提示,过度订阅可能是合理的。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.None">
- <summary>如果未指定延续选项,应在执行延续任务时使用指定的默认行为。延续任务在前面的任务完成后以异步方式运行,与前面任务最终的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性值无关。如果延续为子任务,则会将其创建为分离的嵌套任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.NotOnCanceled">
- <summary>指定不应在延续任务前面的任务已取消的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />,则前面的任务会取消。此选项对多任务延续无效。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.NotOnFaulted">
- <summary>指定不应在延续任务前面的任务引发了未处理异常的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />,则前面的任务会引发未处理的异常。此选项对多任务延续无效。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.NotOnRanToCompletion">
- <summary>指定不应在延续任务前面的任务已完成运行的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />,则前面的任务会运行直至完成。此选项对多任务延续无效。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled">
- <summary>指定只应在延续前面的任务已取消的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />,则前面的任务会取消。此选项对多任务延续无效。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnFaulted">
- <summary>指定只有在延续任务前面的任务引发了未处理异常的情况下才应安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />,则前面的任务会引发未处理的异常。<see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnFaulted" /> 选项可保证前面任务中的 <see cref="P:System.Threading.Tasks.Task.Exception" /> 属性不是 null。你可以使用该属性来捕获异常,并确定导致任务出错的异常。如果你不访问 <see cref="P:System.Threading.Tasks.Task.Exception" /> 属性,则不会处理异常。此外,如果尝试访问已取消或出错的任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性,则会引发一个新异常。此选项对多任务延续无效。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnRanToCompletion">
- <summary>指定只应在延续任务前面的任务已完成运行的情况下才安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />,则前面的任务会运行直至完成。此选项对多任务延续无效。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.PreferFairness">
- <summary>提示 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 按任务计划的顺序安排任务,因此较早安排的任务将更可能较早运行,而较晚安排运行的任务将更可能较晚运行。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskContinuationOptions.RunContinuationsAsynchronously">
- <summary>指定应异步运行延续任务。此选项优先于 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />。</summary>
- </member>
- <member name="T:System.Threading.Tasks.TaskCreationOptions">
- <summary>指定用于控制任务的创建和执行的可选行为的标志。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent">
- <summary>指定将任务附加到任务层次结构中的某个父级。默认情况下,子任务(即由外部任务创建的内部任务)将独立于其父任务执行。可以使用 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent" /> 选项以便将父任务和子任务同步。请注意,如果使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach" /> 选项配置父任务,则子任务中的 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项不起作用,并且子任务将作为分离的子任务执行。有关详细信息,请参阅附加和分离的子任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach">
- <summary>指定任何尝试作为附加的子任务执行(即,使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项创建)的子任务都无法附加到父任务,会改成作为分离的子任务执行。有关更多信息,请参见 已附加和已分离的子任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.HideScheduler">
- <summary>防止环境计划程序被视为已创建任务的当前计划程序。这意味着像 StartNew 或 ContinueWith 创建任务的执行操作将被视为 <see cref="P:System.Threading.Tasks.TaskScheduler.Default" /> 当前计划程序。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.LongRunning">
- <summary>指定任务将是长时间运行的、粗粒度的操作,涉及比细化的系统更少、更大的组件。它会向 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 提示,过度订阅可能是合理的。可以通过过度订阅创建比可用硬件线程数更多的线程。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.None">
- <summary>指定应使用默认行为。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.PreferFairness">
- <summary>提示 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 以一种尽可能公平的方式安排任务,这意味着较早安排的任务将更可能较早运行,而较晚安排运行的任务将更可能较晚运行。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskCreationOptions.RunContinuationsAsynchronously">
- <summary>强制异步执行添加到当前任务的延续任务。</summary>
- </member>
- <member name="T:System.Threading.Tasks.TaskExtensions">
- <summary>提供一组用于处理特定类型的 <see cref="T:System.Threading.Tasks.Task" /> 实例的静态方法(在 Visual Basic 中为共享方法)。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskExtensions.Unwrap``1(System.Threading.Tasks.Task{System.Threading.Tasks.Task{``0}})">
- <summary>创建一个表示 <see cref="T:System.Threading.Tasks.Task" /> 的异步操作的代理 Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic)。 </summary>
- <returns>一个 <see cref="T:System.Threading.Tasks.Task" /> 它表示所提供的 Task<Task<T>> (C#) 或 Task (Of Task(Of T)) (Visual Basic) 的异步运算。</returns>
- <param name="task">要解包的 Task<Task<T>> (C#) 或者 Task (Of Task(Of T)) (Visual Basic)。</param>
- <typeparam name="TResult">任务结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="task" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskExtensions.Unwrap(System.Threading.Tasks.Task{System.Threading.Tasks.Task})">
- <summary>创建一个表示 <see cref="M:System.Threading.Tasks.TaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task,System.Boolean)" /> 的异步操作的代理 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>表示所提供的 System.Threading.Tasks.Task(Of Task) 的异步操作的 Task。</returns>
- <param name="task">要解包的 Task<Task> (C#) 或者 Task (Of Task) (Visual Basic)。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="task" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="T:System.Threading.Tasks.TaskFactory">
- <summary>提供对创建和计划 <see cref="T:System.Threading.Tasks.Task" /> 对象的支持。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.#ctor">
- <summary>使用默认配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.CancellationToken)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
- <param name="cancellationToken">将指派给由此 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> 创建的任务的 <see cref="T:System.Threading.Tasks.TaskFactory" />,除非在调用工厂方法时显式指定另一个 CancellationToken。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
- <param name="cancellationToken">将指派给由此 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> 创建的任务的 <see cref="T:System.Threading.Tasks.TaskFactory" />,除非在调用工厂方法时显式指定另一个 CancellationToken。</param>
- <param name="creationOptions">在使用此 TaskFactory 创建任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <param name="continuationOptions">在使用此 TaskFactory 创建延续任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />。</param>
- <param name="scheduler">要用于计划使用此 TaskFactory 创建的任何任务的默认 <see cref="T:System.Threading.Tasks.TaskScheduler" />。一个 null 值,该值指示应使用 TaskScheduler.Current。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> 值无效。有关详细信息,请参阅的备注部分 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" />。- 或 -<paramref name="continuationOptions" /> 参数指定的值无效。 </exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
- <param name="creationOptions">在使用此 TaskFactory 创建任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
- <param name="continuationOptions">在使用此 TaskFactory 创建延续任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> 值无效。有关详细信息,请参阅的备注部分 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" />。- 或 -<paramref name="continuationOptions" /> 参数指定的值无效。 </exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.Tasks.TaskScheduler)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
- <param name="scheduler">要用于计划使用此 TaskFactory 创建的任何任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。一个 null 值,该值指示应使用当前的 TaskScheduler。</param>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory.CancellationToken">
- <summary>获取此任务工厂的默认取消标记。</summary>
- <returns>此任务工厂的默认任务取消标记。</returns>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory.ContinuationOptions">
- <summary>获取此任务工厂的默认任务继续选项。</summary>
- <returns>此任务工厂的默认任务继续选项。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]})">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。</param>
- <param name="scheduler">用于计划新的延续任务的对象。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0})">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <param name="scheduler">用于计划新的延续任务的对象。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]})">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <param name="scheduler">用于计划新的延续任务的对象。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1})">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <param name="scheduler">用于计划新的延续任务的对象。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task})">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数是 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<paramref name="cancellationToken" /> 已释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task" />。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0})">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。- 或 -提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}})">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。- 或 -提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1})">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1},System.Threading.CancellationToken)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。- 或 -提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">
- <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
- <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory.CreationOptions">
- <summary>获取此任务工厂的默认任务创建选项。</summary>
- <returns>此任务工厂的默认任务创建选项。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``0},System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``1},``0,System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``1},``0,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``2},``0,``1,System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``2},``0,``1,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,``2,System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
- <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,``2,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
- <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``4(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``3},``0,``1,``2,System.Object)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
- <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``4(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``3},``0,``1,``2,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
- <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.IAsyncResult,System.Action{System.IAsyncResult})">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法操作。</summary>
- <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的操作委托。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.IAsyncResult,System.Action{System.IAsyncResult},System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法操作。</summary>
- <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的操作委托。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.IAsyncResult,System.Action{System.IAsyncResult},System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法操作。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的操作委托。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <param name="scheduler">用于计划将执行结束方法的任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.IAsyncResult,System.Func{System.IAsyncResult,``0})">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
- <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.IAsyncResult,System.Func{System.IAsyncResult,``0},System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
- <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.IAsyncResult,System.Func{System.IAsyncResult,``0},System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
- <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
- <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <param name="scheduler">用于计划将执行结束方法的任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory.Scheduler">
- <summary>获取此任务工厂的默认任务计划程序。</summary>
- <returns>此任务工厂的默认任务计划程序。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="action" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action,System.Threading.CancellationToken)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task" />。</param>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="action" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object,System.Threading.CancellationToken)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task" />。</param>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
- <param name="action">要异步执行的操作委托。</param>
- <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0})">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0},System.Threading.CancellationToken)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0},System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object,System.Threading.CancellationToken)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
- <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
- <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
- </member>
- <member name="T:System.Threading.Tasks.TaskFactory`1">
- <summary>提供对创建和计划 <see cref="T:System.Threading.Tasks.Task`1" /> 对象的支持。</summary>
- <typeparam name="TResult">此类的方法创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 对象的返回值。</typeparam>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor">
- <summary>使用默认配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.CancellationToken)">
- <summary>使用默认配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
- <param name="cancellationToken">将指派给由此 <see cref="T:System.Threading.Tasks.TaskFactory" /> 创建的任务的默认取消标记(除非在调用工厂方法时显式指定另一个取消标记)。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
- <param name="cancellationToken">将指派给由此 <see cref="T:System.Threading.Tasks.TaskFactory" /> 创建的任务的默认取消标记(除非在调用工厂方法时显式指定另一个取消标记)。</param>
- <param name="creationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
- <param name="continuationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
- <param name="scheduler">要用于计划使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建的任何任务的默认计划程序。null 值指示应使用 <see cref="P:System.Threading.Tasks.TaskScheduler.Current" />。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 或 <paramref name="continuationOptions" /> 指定了一个无效值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
- <param name="creationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
- <param name="continuationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 或 <paramref name="continuationOptions" /> 指定了一个无效值。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.Tasks.TaskScheduler)">
- <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
- <param name="scheduler">要用于计划使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建的任何任务的计划程序。一个 null 值,该值指示应使用当前 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory`1.CancellationToken">
- <summary>获取此任务工厂的默认取消标记。</summary>
- <returns>此任务工厂的默认取消标记。</returns>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory`1.ContinuationOptions">
- <summary>获取此任务工厂的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 枚举值。</summary>
- <returns>指定此任务工厂的默认延续选项的枚举值之一。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0})">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <param name="scheduler">用于计划所创建的延续任务的计划程序。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 指定了一个无效值。</exception>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0})">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <param name="scheduler">用于计划所创建的延续任务的计划程序。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0})">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组参数为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <param name="scheduler">用于计划所创建的延续任务的任务计划程序。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值无效。</exception>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的枚举值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0})">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0},System.Threading.CancellationToken)">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续任务。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的 TaskContinuationOptions 值无效。</exception>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0},System.Threading.Tasks.TaskContinuationOptions)">
- <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
- <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
- <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
- <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
- <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
- <exception cref="T:System.ObjectDisposedException">
- <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="continuationOptions" /> 参数指定的枚举值无效。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory`1.CreationOptions">
- <summary>获取此任务工厂的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> 枚举值。</summary>
- <returns>指定此任务工厂的默认创建选项的枚举值之一。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},System.Object)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,System.Object)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,System.Object)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">一个对象,用于控制所创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,``2,System.Object)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
- <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,``2,System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="beginMethod">用于启动异步操作的委托。</param>
- <param name="endMethod">用于结束异步操作的委托。</param>
- <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
- <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
- <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
- <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
- <param name="creationOptions">一个对象,用于控制所创建的任务的行为。</param>
- <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
- <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
- <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.IAsyncResult,System.Func{System.IAsyncResult,`0})">
- <summary>创建一个任务,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
- <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="asyncResult">
- <see cref="T:System.IAsyncResult" />,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="asyncResult" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.IAsyncResult,System.Func{System.IAsyncResult,`0},System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建一个任务,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
- <returns>表示异步操作的任务。</returns>
- <param name="asyncResult">
- <see cref="T:System.IAsyncResult" />,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="asyncResult" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.IAsyncResult,System.Func{System.IAsyncResult,`0},System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建一个任务,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
- <returns>创建的表示异步操作的任务。</returns>
- <param name="asyncResult">
- <see cref="T:System.IAsyncResult" />,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
- <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <param name="scheduler">用于计划将执行结束方法的任务计划程序。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="asyncResult" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="P:System.Threading.Tasks.TaskFactory`1.Scheduler">
- <summary>获取此任务工厂的任务计划程序。</summary>
- <returns>此任务工厂的任务计划程序。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0})">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0},System.Threading.CancellationToken)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="cancellationToken">将指派给新的任务的取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="cancellationToken">将指派给新的任务的取消标记。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <param name="scheduler">用于计划所创建的任务的任务计划程序。</param>
- <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0},System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
- <param name="cancellationToken">将指派给新的任务的取消标记。</param>
- <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
- <param name="cancellationToken">将指派给新的任务的取消标记。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <param name="scheduler">用于计划所创建的任务的任务计划程序。</param>
- <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
- <summary>创建并启动 任务。</summary>
- <returns>已启动的任务。</returns>
- <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
- <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
- <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="function" /> 参数为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="creationOptions" /> 参数指定的值无效。</exception>
- </member>
- <member name="T:System.Threading.Tasks.TaskScheduler">
- <summary>表示一个处理将任务排队到线程中的低级工作的对象。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.#ctor">
- <summary>初始化 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
- </member>
- <member name="P:System.Threading.Tasks.TaskScheduler.Current">
- <summary>获取与当前正在执行的任务关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
- <returns>返回与当前正在执行的任务关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</returns>
- </member>
- <member name="P:System.Threading.Tasks.TaskScheduler.Default">
- <summary>获取由 .NET Framework 提供的默认 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 实例。</summary>
- <returns>返回默认的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 实例。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.FromCurrentSynchronizationContext">
- <summary>创建一个与当前 <see cref="T:System.Threading.SynchronizationContext" /> 关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
- <returns>与由 <see cref="P:System.Threading.SynchronizationContext.Current" /> 确定的当前 <see cref="T:System.Threading.SynchronizationContext" /> 关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</returns>
- <exception cref="T:System.InvalidOperationException">当前的 SynchronizationContext 不能用作 TaskScheduler。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.GetScheduledTasks">
- <summary>仅对于调试器支持,生成当前排队到计划程序中等待执行的 <see cref="T:System.Threading.Tasks.Task" /> 实例的枚举。</summary>
- <returns>一个允许调试器遍历当前排队到此计划程序中的任务的枚举。</returns>
- <exception cref="T:System.NotSupportedException">此计划程序无法在此时生成排队任务的列表。</exception>
- </member>
- <member name="P:System.Threading.Tasks.TaskScheduler.Id">
- <summary>获取此 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的唯一 ID。</summary>
- <returns>返回此 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的唯一 ID。</returns>
- </member>
- <member name="P:System.Threading.Tasks.TaskScheduler.MaximumConcurrencyLevel">
- <summary>指示此 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 能够支持的最大并发级别。</summary>
- <returns>返回表示最大并发级别的一个整数。默认计划程序返回 <see cref="F:System.Int32.MaxValue" />。</returns>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.QueueTask(System.Threading.Tasks.Task)">
- <summary>将 <see cref="T:System.Threading.Tasks.Task" /> 排队到计划程序中。</summary>
- <param name="task">要排队的 <see cref="T:System.Threading.Tasks.Task" />。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="task" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.TryDequeue(System.Threading.Tasks.Task)">
- <summary>尝试将以前排队到此计划程序中的 <see cref="T:System.Threading.Tasks.Task" /> 取消排队。</summary>
- <returns>一个布尔值,该值指示是否已成功地将 <paramref name="task" /> 参数取消排队。</returns>
- <param name="task">要取消排队的 <see cref="T:System.Threading.Tasks.Task" />。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="task" /> 参数为 null。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task)">
- <summary>尝试在此计划程序上执行提供的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
- <returns>一个布尔值,如果成功执行了 <paramref name="task" />,则该值为 true;如果未成功执行,则该值为 false。执行失败的常见原因是,该任务先前已经执行或者位于正在由另一个线程执行的进程中。</returns>
- <param name="task">要执行的 <see cref="T:System.Threading.Tasks.Task" /> 对象。</param>
- <exception cref="T:System.InvalidOperationException">
- <paramref name="task" /> 与此计划程序无关联。</exception>
- </member>
- <member name="M:System.Threading.Tasks.TaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task,System.Boolean)">
- <summary>确定是否可以在此调用中同步执行提供的 <see cref="T:System.Threading.Tasks.Task" />,如果可以,将执行该任务。</summary>
- <returns>一个布尔值,该值指示是否已以内联方式执行该任务。</returns>
- <param name="task">要执行的 <see cref="T:System.Threading.Tasks.Task" />。</param>
- <param name="taskWasPreviouslyQueued">一个布尔值,该值指示任务之前是否已排队。如果此参数为 True,则该任务以前可能已排队(已计划);如果为 False,则已知该任务尚未排队,此时将执行此调用,以便以内联方式执行该任务,而不用将其排队。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="task" /> 参数为 null。</exception>
- <exception cref="T:System.InvalidOperationException">已执行的 <paramref name="task" />。</exception>
- </member>
- <member name="E:System.Threading.Tasks.TaskScheduler.UnobservedTaskException">
- <summary>当出错的任务的未观察到的异常将要触发异常升级策略时发生,默认情况下,这将终止进程。</summary>
- </member>
- <member name="T:System.Threading.Tasks.TaskSchedulerException">
- <summary>表示一个用于告知由 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 计划的某个操作无效的异常。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor">
- <summary>使用由系统提供的用来描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor(System.Exception)">
- <summary>使用默认的错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
- <param name="innerException">导致当前异常的异常。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor(System.String)">
- <summary>使用指定的描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
- <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
- </member>
- <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor(System.String,System.Exception)">
- <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
- <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
- <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
- </member>
- <member name="T:System.Threading.Tasks.TaskStatus">
- <summary>表示 <see cref="T:System.Threading.Tasks.Task" /> 的生命周期中的当前阶段。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.Canceled">
- <summary>该任务已通过对其自身的 CancellationToken 引发 OperationCanceledException 对取消进行了确认,此时该标记处于已发送信号状态;或者在该任务开始执行之前,已向该任务的 CancellationToken 发出了信号。有关详细信息,请参阅任务取消。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.Created">
- <summary>该任务已初始化,但尚未被计划。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.Faulted">
- <summary>由于未处理异常的原因而完成的任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.RanToCompletion">
- <summary>已成功完成执行的任务。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.Running">
- <summary>该任务正在运行,但尚未完成。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.WaitingForActivation">
- <summary>该任务正在等待 .NET Framework 基础结构在内部将其激活并进行计划。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.WaitingForChildrenToComplete">
- <summary>该任务已完成执行,正在隐式等待附加的子任务完成。</summary>
- </member>
- <member name="F:System.Threading.Tasks.TaskStatus.WaitingToRun">
- <summary>该任务已被计划执行,但尚未开始执行。</summary>
- </member>
- <member name="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs">
- <summary>为在出错的 <see cref="T:System.Threading.Tasks.Task" /> 的异常未观察到时引发的事件提供数据。</summary>
- </member>
- <member name="M:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.#ctor(System.AggregateException)">
- <summary>使用未观察到的异常初始化 <see cref="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs" /> 类的新实例。</summary>
- <param name="exception">未观察到的异常。</param>
- </member>
- <member name="P:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.Exception">
- <summary>未观察到的异常。</summary>
- <returns>未观察到的异常。</returns>
- </member>
- <member name="P:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.Observed">
- <summary>获取此异常是否已标记为“已观察到”。</summary>
- <returns>如果此异常已标记为“已观察到”,则为 true;否则为 false。</returns>
- </member>
- <member name="M:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.SetObserved">
- <summary>将 <see cref="P:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.Exception" /> 标记为“已观察到”,这样将阻止该异常触发默认情况下会终止进程的异常升级策略。</summary>
- </member>
- </members>
- </doc>
|