AtomPub10ServiceDocumentFormatter<TServiceDocument> Constructors
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 instance of the Atom 1.0-based ServiceDocumentFormatter class.
Overloads
AtomPub10ServiceDocumentFormatter<TServiceDocument>() |
Creates a new instance of the ServiceDocumentFormatter class. |
AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument) |
Creates a new instance of the Atom 1.0-based ServiceDocumentFormatter class. |
AtomPub10ServiceDocumentFormatter<TServiceDocument>()
Creates a new instance of the ServiceDocumentFormatter class.
public:
AtomPub10ServiceDocumentFormatter();
public AtomPub10ServiceDocumentFormatter ();
Public Sub New ()
Applies to
AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)
Creates a new instance of the Atom 1.0-based ServiceDocumentFormatter class.
public:
AtomPub10ServiceDocumentFormatter(TServiceDocument documentToWrite);
public AtomPub10ServiceDocumentFormatter (TServiceDocument documentToWrite);
new System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))> : 'ServiceDocument -> System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))>
Public Sub New (documentToWrite As TServiceDocument)
Parameters
- documentToWrite
- TServiceDocument
The ServiceDocument associated with the Atom 1.0 formatter.
Exceptions
documentToWrite
is null
.
Remarks
The documentToWrite
can be serialized to an XML representation or deserialized from an XML representation by the formatter using Atom 1.0 formats.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기