共用方式為


XmlKeyManager.IInternalXmlKeyManager.CreateNewKey 方法

定義

 virtual Microsoft::AspNetCore::DataProtection::KeyManagement::IKey ^ Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate) = Microsoft::AspNetCore::DataProtection::KeyManagement::Internal::IInternalXmlKeyManager::CreateNewKey;
Microsoft.AspNetCore.DataProtection.KeyManagement.IKey IInternalXmlKeyManager.CreateNewKey (Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate);
abstract member Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey : Guid * DateTimeOffset * DateTimeOffset * DateTimeOffset -> Microsoft.AspNetCore.DataProtection.KeyManagement.IKey
override this.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey : Guid * DateTimeOffset * DateTimeOffset * DateTimeOffset -> Microsoft.AspNetCore.DataProtection.KeyManagement.IKey
Function CreateNewKey (keyId As Guid, creationDate As DateTimeOffset, activationDate As DateTimeOffset, expirationDate As DateTimeOffset) As IKey Implements IInternalXmlKeyManager.CreateNewKey

參數

keyId
Guid
creationDate
DateTimeOffset
activationDate
DateTimeOffset
expirationDate
DateTimeOffset

傳回

實作

Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(System.Guid,System.DateTimeOffset,System.DateTimeOffset,System.DateTimeOffset)

適用於