BuildIt.CognitiveServices.SpellCheckAPIV5Extensions.SpellCheck C# (CSharp) Method

SpellCheck() public static method

public static SpellCheck ( this operations, string mode = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
mode string /// Mode of spellcheck: /// <ul><li>Proof - Meant to provide Office Word like spelling /// corrections. It can correct long queries, provide casing corrections and /// suppresses aggressive corrections.</li> /// <li>Spell - Meant to provide Search engine like spelling /// corrections. It will correct small queries(up to length 9 tokens) without /// any casing changes and will be more optimized (perf and relevance) /// towards search like queries.</li></ul> /// . Possible values include: 'spell', 'proof' ///
mkt string /// For proof mode, only support en-us, es-es, pt-br, /// For spell mode, support all language codes. Possible values include: /// 'en-us', 'es-es', 'pt-br' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void
            public static void SpellCheck(this ISpellCheckAPIV5 operations, string mode = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((ISpellCheckAPIV5)s).SpellCheckAsync(mode, mkt, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }

Same methods

SpellCheckAPIV5Extensions::SpellCheck ( this operations, string mode = default(string), string preContextText = default(string), string postContextText = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
SpellCheckAPIV5Extensions