Compartir a través de


RemoteCodeContainer Constructor

Definition

Initializes a new RemoteCodeContainer instance.

public RemoteCodeContainer (string name, Guid codeContainerProvider, Uri displayUrl, Uri browseOnlineUrl, DateTimeOffset lastAccessed, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> extraProperties = default);
new Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer : string * Guid * Uri * Uri * DateTimeOffset * seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer
Public Sub New (name As String, codeContainerProvider As Guid, displayUrl As Uri, browseOnlineUrl As Uri, lastAccessed As DateTimeOffset, Optional extraProperties As IEnumerable(Of KeyValuePair(Of String, String)) = Nothing)

Parameters

name
String

Name in original web location.

codeContainerProvider
Guid

Provider ID.

displayUrl
Uri

Display URL.

browseOnlineUrl
Uri

Browse-Online URL.

lastAccessed
DateTimeOffset

Last-Accessed timestamp in UTC.

extraProperties
IEnumerable<KeyValuePair<String,String>>

Additional properties.

Exceptions

Thrown if any of name, displayUrl or browseOnlineUrl is null.

Thrown if browseOnlineUrl is not an absolute URL.

Applies to