TaxonomyClientService classe
Fornece os métodos do serviço da Web necessários para um aplicativo cliente hospedar um controle de metadados gerenciados.
Inheritance hierarchy
System.Object
System.ComponentModel.MarshalByValueComponent
System.Web.Services.WebService
Microsoft.SharePoint.Taxonomy.WebServices.TaxonomyClientService
Namespace: Microsoft.SharePoint.Taxonomy.WebServices
Assembly: Microsoft.SharePoint.Taxonomy (em Microsoft.SharePoint.Taxonomy.dll)
Sintaxe
'Declaração
<ScriptServiceAttribute> _
<WebServiceAttribute(Namespace := "https://schemas.microsoft.com/sharepoint/taxonomy/soap/", _
Name := "Taxonomy web service", Description := "This web service is designed for Office client applications to use")> _
<WebServiceBindingAttribute(ConformsTo := WsiProfiles.BasicProfile1_1)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TaxonomyClientService _
Inherits WebService
'Uso
Dim instance As TaxonomyClientService
[ScriptServiceAttribute]
[WebServiceAttribute(Namespace = "https://schemas.microsoft.com/sharepoint/taxonomy/soap/",
Name = "Taxonomy web service", Description = "This web service is designed for Office client applications to use")]
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TaxonomyClientService : WebService
Comentários
Este serviço da Web permite que um cliente interagir com o objeto de TermStore de metadados gerenciados e obter os dados por meio de etiquetas de correspondência, por T:Microsoft.SharePoint.Taxonomy.TermSet ou por GUID. Atualizações para o TermStore também podem ser feitas com a adição de um novo objeto de Term .
Exemplos
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
//
// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
//
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="TaxonomyClientServiceSoap", Namespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/")]
public partial class TaxonomyClientService : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback GetTermSetsOperationCompleted;
private System.Threading.SendOrPostCallback GetTermsByLabelOperationCompleted;
private System.Threading.SendOrPostCallback AddTermsOperationCompleted;
private System.Threading.SendOrPostCallback GetKeywordTermsByGuidsOperationCompleted;
private System.Threading.SendOrPostCallback GetChildTermsInTermSetOperationCompleted;
private System.Threading.SendOrPostCallback GetChildTermsInTermOperationCompleted;
/// <remarks/>
public TaxonomyClientService() {
this.Url = "https://localhost:56509/WebSite1/Service.asmx";
}
/// <remarks/>
public event GetTermSetsCompletedEventHandler GetTermSetsCompleted;
/// <remarks/>
public event GetTermsByLabelCompletedEventHandler GetTermsByLabelCompleted;
/// <remarks/>
public event AddTermsCompletedEventHandler AddTermsCompleted;
/// <remarks/>
public event GetKeywordTermsByGuidsCompletedEventHandler GetKeywordTermsByGuidsCompleted;
/// <remarks/>
public event GetChildTermsInTermSetCompletedEventHandler GetChildTermsInTermSetCompleted;
/// <remarks/>
public event GetChildTermsInTermCompletedEventHandler GetChildTermsInTermCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/taxonomy/soap/GetTermSets", RequestNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetTermSets(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions, out string serverTermSetTimeStampXml) {
object[] results = this.Invoke("GetTermSets", new object[] {
sharedServiceIds,
TermSetIds,
lcid,
clientTimeStamps,
clientVersions});
serverTermSetTimeStampXml = ((string)(results[1]));
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetTermSets(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetTermSets", new object[] {
sharedServiceIds,
TermSetIds,
lcid,
clientTimeStamps,
clientVersions}, callback, asyncState);
}
/// <remarks/>
public string EndGetTermSets(System.IAsyncResult asyncResult, out string serverTermSetTimeStampXml) {
object[] results = this.EndInvoke(asyncResult);
serverTermSetTimeStampXml = ((string)(results[1]));
return ((string)(results[0]));
}
/// <remarks/>
public void GetTermSetsAsync(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions) {
this.GetTermSetsAsync(sharedServiceIds, TermSetIds, lcid, clientTimeStamps, clientVersions, null);
}
/// <remarks/>
public void GetTermSetsAsync(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions, object userState) {
if ((this.GetTermSetsOperationCompleted == null)) {
this.GetTermSetsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTermSetsOperationCompleted);
}
this.InvokeAsync("GetTermSets", new object[] {
sharedServiceIds,
TermSetIds,
lcid,
clientTimeStamps,
clientVersions}, this.GetTermSetsOperationCompleted, userState);
}
private void OnGetTermSetsOperationCompleted(object arg) {
if ((this.GetTermSetsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetTermSetsCompleted(this, new GetTermSetsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/taxonomy/soap/GetTermsByLabel", RequestNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetTermsByLabel(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound) {
object[] results = this.Invoke("GetTermsByLabel", new object[] {
label,
lcid,
matchOption,
resultCollectionSize,
TermIds,
addIfNotFound});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetTermsByLabel(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetTermsByLabel", new object[] {
label,
lcid,
matchOption,
resultCollectionSize,
TermIds,
addIfNotFound}, callback, asyncState);
}
/// <remarks/>
public string EndGetTermsByLabel(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
public void GetTermsByLabelAsync(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound) {
this.GetTermsByLabelAsync(label, lcid, matchOption, resultCollectionSize, TermIds, addIfNotFound, null);
}
/// <remarks/>
public void GetTermsByLabelAsync(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound, object userState) {
if ((this.GetTermsByLabelOperationCompleted == null)) {
this.GetTermsByLabelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTermsByLabelOperationCompleted);
}
this.InvokeAsync("GetTermsByLabel", new object[] {
label,
lcid,
matchOption,
resultCollectionSize,
TermIds,
addIfNotFound}, this.GetTermsByLabelOperationCompleted, userState);
}
private void OnGetTermsByLabelOperationCompleted(object arg) {
if ((this.GetTermsByLabelCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetTermsByLabelCompleted(this, new GetTermsByLabelCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/taxonomy/soap/AddTerms", RequestNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string AddTerms(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms) {
object[] results = this.Invoke("AddTerms", new object[] {
sharedServiceId,
TermSetId,
lcid,
newTerms});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddTerms(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddTerms", new object[] {
sharedServiceId,
TermSetId,
lcid,
newTerms}, callback, asyncState);
}
/// <remarks/>
public string EndAddTerms(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
public void AddTermsAsync(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms) {
this.AddTermsAsync(sharedServiceId, TermSetId, lcid, newTerms, null);
}
/// <remarks/>
public void AddTermsAsync(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms, object userState) {
if ((this.AddTermsOperationCompleted == null)) {
this.AddTermsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddTermsOperationCompleted);
}
this.InvokeAsync("AddTerms", new object[] {
sharedServiceId,
TermSetId,
lcid,
newTerms}, this.AddTermsOperationCompleted, userState);
}
private void OnAddTermsOperationCompleted(object arg) {
if ((this.AddTermsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddTermsCompleted(this, new AddTermsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/taxonomy/soap/GetKeywordTermsByGuids", RequestNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetKeywordTermsByGuids(string TermIds, int lcid) {
object[] results = this.Invoke("GetKeywordTermsByGuids", new object[] {
TermIds,
lcid});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetKeywordTermsByGuids(string TermIds, int lcid, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetKeywordTermsByGuids", new object[] {
TermIds,
lcid}, callback, asyncState);
}
/// <remarks/>
public string EndGetKeywordTermsByGuids(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
public void GetKeywordTermsByGuidsAsync(string TermIds, int lcid) {
this.GetKeywordTermsByGuidsAsync(TermIds, lcid, null);
}
/// <remarks/>
public void GetKeywordTermsByGuidsAsync(string TermIds, int lcid, object userState) {
if ((this.GetKeywordTermsByGuidsOperationCompleted == null)) {
this.GetKeywordTermsByGuidsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetKeywordTermsByGuidsOperationCompleted);
}
this.InvokeAsync("GetKeywordTermsByGuids", new object[] {
TermIds,
lcid}, this.GetKeywordTermsByGuidsOperationCompleted, userState);
}
private void OnGetKeywordTermsByGuidsOperationCompleted(object arg) {
if ((this.GetKeywordTermsByGuidsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetKeywordTermsByGuidsCompleted(this, new GetKeywordTermsByGuidsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/taxonomy/soap/GetChildTermsInTermSet", RequestNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetChildTermsInTermSet(System.Guid sspId, int lcid, System.Guid TermSetId) {
object[] results = this.Invoke("GetChildTermsInTermSet", new object[] {
sspId,
lcid,
TermSetId});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetChildTermsInTermSet(System.Guid sspId, int lcid, System.Guid TermSetId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetChildTermsInTermSet", new object[] {
sspId,
lcid,
TermSetId}, callback, asyncState);
}
/// <remarks/>
public string EndGetChildTermsInTermSet(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
public void GetChildTermsInTermSetAsync(System.Guid sspId, int lcid, System.Guid TermSetId) {
this.GetChildTermsInTermSetAsync(sspId, lcid, TermSetId, null);
}
/// <remarks/>
public void GetChildTermsInTermSetAsync(System.Guid sspId, int lcid, System.Guid TermSetId, object userState) {
if ((this.GetChildTermsInTermSetOperationCompleted == null)) {
this.GetChildTermsInTermSetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildTermsInTermSetOperationCompleted);
}
this.InvokeAsync("GetChildTermsInTermSet", new object[] {
sspId,
lcid,
TermSetId}, this.GetChildTermsInTermSetOperationCompleted, userState);
}
private void OnGetChildTermsInTermSetOperationCompleted(object arg) {
if ((this.GetChildTermsInTermSetCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetChildTermsInTermSetCompleted(this, new GetChildTermsInTermSetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/taxonomy/soap/GetChildTermsInTerm", RequestNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetChildTermsInTerm(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId) {
object[] results = this.Invoke("GetChildTermsInTerm", new object[] {
sspId,
lcid,
TermId,
TermSetId});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetChildTermsInTerm(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetChildTermsInTerm", new object[] {
sspId,
lcid,
TermId,
TermSetId}, callback, asyncState);
}
/// <remarks/>
public string EndGetChildTermsInTerm(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
public void GetChildTermsInTermAsync(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId) {
this.GetChildTermsInTermAsync(sspId, lcid, TermId, TermSetId, null);
}
/// <remarks/>
public void GetChildTermsInTermAsync(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId, object userState) {
if ((this.GetChildTermsInTermOperationCompleted == null)) {
this.GetChildTermsInTermOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildTermsInTermOperationCompleted);
}
this.InvokeAsync("GetChildTermsInTerm", new object[] {
sspId,
lcid,
TermId,
TermSetId}, this.GetChildTermsInTermOperationCompleted, userState);
}
private void OnGetChildTermsInTermOperationCompleted(object arg) {
if ((this.GetChildTermsInTermCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetChildTermsInTermCompleted(this, new GetChildTermsInTermCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sharepoint/taxonomy/soap/")]
public enum StringMatchOption {
/// <remarks/>
StartsWith,
/// <remarks/>
ExactMatch,
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetTermSetsCompletedEventHandler(object sender, GetTermSetsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetTermSetsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetTermSetsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
/// <remarks/>
public string serverTermSetTimeStampXml {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[1]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetTermsByLabelCompletedEventHandler(object sender, GetTermsByLabelCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetTermsByLabelCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetTermsByLabelCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void AddTermsCompletedEventHandler(object sender, AddTermsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddTermsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal AddTermsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetKeywordTermsByGuidsCompletedEventHandler(object sender, GetKeywordTermsByGuidsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetKeywordTermsByGuidsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetKeywordTermsByGuidsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetChildTermsInTermSetCompletedEventHandler(object sender, GetChildTermsInTermSetCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetChildTermsInTermSetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetChildTermsInTermSetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
public delegate void GetChildTermsInTermCompletedEventHandler(object sender, GetChildTermsInTermCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetChildTermsInTermCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetChildTermsInTermCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
Segurança de thread
Os membros públicos estática (Shared no Visual Basic) desse tipo são seguros para thread. Nenhum membro de instância pode ser garantido como seguro para thread.