IdentityHttpClient.RenameScopeAsync Method
Namespace: Microsoft.VisualStudio.Services.Identity.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function RenameScopeAsync ( _
scopeId As Guid, _
newName As String, _
userState As Object _
) As Task(Of HttpResponseMessage)
public Task<HttpResponseMessage> RenameScopeAsync(
Guid scopeId,
string newName,
Object userState
)
public:
Task<HttpResponseMessage^>^ RenameScopeAsync(
Guid scopeId,
String^ newName,
Object^ userState
)
member RenameScopeAsync :
scopeId:Guid *
newName:string *
userState:Object -> Task<HttpResponseMessage>
public function RenameScopeAsync(
scopeId : Guid,
newName : String,
userState : Object
) : Task<HttpResponseMessage>
Parameters
- scopeId
Type: System.Guid
- newName
Type: System.String
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
.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.