ProfileHttpClient.DeleteAttributeAsync Method (ProfileAttribute, Object)
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable Function DeleteAttributeAsync ( _
attributeToDelete As ProfileAttribute, _
userState As Object _
) As Task(Of Integer)
public virtual Task<int> DeleteAttributeAsync(
ProfileAttribute attributeToDelete,
Object userState
)
public:
virtual Task<int>^ DeleteAttributeAsync(
ProfileAttribute^ attributeToDelete,
Object^ userState
)
abstract DeleteAttributeAsync :
attributeToDelete:ProfileAttribute *
userState:Object -> Task<int>
override DeleteAttributeAsync :
attributeToDelete:ProfileAttribute *
userState:Object -> Task<int>
public function DeleteAttributeAsync(
attributeToDelete : ProfileAttribute,
userState : Object
) : Task<int>
Parameters
- attributeToDelete
Type: Microsoft.VisualStudio.Services.Profile.ProfileAttribute
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Int32>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.