ShareModelFactory.ShareFileHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ShareFileHandle instance for mocking.
public static Azure.Storage.Files.Shares.Models.ShareFileHandle ShareFileHandle (string handleId, string path, string fileId, string sessionId, string clientIp, string clientName, string parentId = default, DateTimeOffset? openedOn = default, DateTimeOffset? lastReconnectedOn = default, Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights? accessRights = default);
static member ShareFileHandle : string * string * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights> -> Azure.Storage.Files.Shares.Models.ShareFileHandle
Public Shared Function ShareFileHandle (handleId As String, path As String, fileId As String, sessionId As String, clientIp As String, clientName As String, Optional parentId As String = Nothing, Optional openedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastReconnectedOn As Nullable(Of DateTimeOffset) = Nothing, Optional accessRights As Nullable(Of ShareFileHandleAccessRights) = Nothing) As ShareFileHandle
Parameters
- handleId
- String
- path
- String
- fileId
- String
- sessionId
- String
- clientIp
- String
- clientName
- String
- parentId
- String
- openedOn
- Nullable<DateTimeOffset>
- lastReconnectedOn
- Nullable<DateTimeOffset>
- accessRights
- Nullable<ShareFileHandleAccessRights>
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET