Base:
method
ToString
System.Object.ToString()
63 references to ToString
System.IdentityModel (6)
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
731XmlUtil.WriteElementStringAsUniqueId(dicWriter, dictionary.ContextId, dictionary.EmptyString, this.ContextId.ToString()); 747XmlUtil.WriteElementStringAsUniqueId(dicWriter, dictionary.KeyGeneration, dictionary.EmptyString, this.KeyGeneration.ToString());
System\IdentityModel\Tokens\SessionSecurityTokenCacheKey.cs (2)
191sb.Append(this.contextId.ToString()); 195sb.Append(this.keyGeneration.ToString());
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
398if (contextId == null || string.IsNullOrEmpty(contextId.ToString())) 793dicWriter.WriteElementString(contextIdElementName, ns, sessionToken.ContextId.ToString());
System.Runtime.Serialization (7)
System\Xml\UniqueID.cs (3)
361return id1.ToString() == id2.ToString(); 383return ToString().GetHashCode();
System\Xml\XmlBinaryWriter.cs (1)
853WriteText(value.ToString());
System\Xml\XmlConverter.cs (1)
420static public string ToString(UniqueId value) { return value.ToString(); }
System\Xml\XmlDictionaryWriter.cs (1)
714WriteString(value.ToString());
System\Xml\XmlUTF8TextWriter.cs (1)
688WriteEscapedText(value.ToString());
System.ServiceModel (20)
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
68return sequenceId.ToString();
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
226{ "WCFMessageId", indigoId.ToString() }
System\ServiceModel\Channels\PeerHelpers.cs (1)
976return new PeerDictionaryHeader(XD.AddressingDictionary.MessageId, XD.PeerWireStringsDictionary.Namespace, messageId.ToString());
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
288dictionaryWriter.WriteElementString(AddressingStrings.MessageId, addressingProperty.MessageId.ToString());
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (3)
577xml.WriteElementString("ContextId", token.ContextId.ToString()); 580xml.WriteElementString("KeyGeneration", token.KeyGeneration.ToString()); 914xml.WriteElementString("MessageId", id.ToString());
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (2)
28writer.WriteString(id.ToString()); 46writer.WriteString(id.ToString());
System\ServiceModel\Dispatcher\XPathMessageContext.cs (2)
773id = uid.ToString(); 789return id.ToString();
System\ServiceModel\Security\SecurityContextTokenCache.cs (4)
64throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SecurityContextExpired, token.ContextId, token.KeyGeneration.ToString())); 72throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SecurityContextKeyExpired, token.ContextId, token.KeyGeneration.ToString())); 84throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ContextAlreadyRegistered, token.ContextId, token.KeyGeneration.ToString()))); 130throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ContextNotPresent, contextId, generation.ToString())));
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
997return (skiClause.ContextId.ToString() == this.SessionId); 2765return this.sessionId.ToString();
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
2516return this.securityContextTokenId.ToString();
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenAuthenticator.cs (1)
39throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new SecurityContextTokenValidationException(SR.GetString(SR.SecurityContextExpired, contextId, sct.KeyGeneration == null ? "none" : sct.KeyGeneration.ToString())));
System\ServiceModel\Security\WrappedTokenCache.cs (1)
157throw DiagnosticUtility.ExceptionUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID4285, sessionToken.ContextId.ToString()));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpChannelBase.cs (1)
282messageIdString = string.Format(CultureInfo.CurrentCulture, "'{0}' ", message.Headers.MessageId.ToString());
System.ServiceModel.Discovery (28)
System\ServiceModel\Discovery\ByeOperationAsyncResult.cs (2)
86TD.DuplicateDiscoveryMessage(eventTraceActivity, ProtocolStrings.TracingStrings.Bye, messageId.ToString()); 99TD.DiscoveryMessageWithInvalidContent(eventTraceActivity, ProtocolStrings.TracingStrings.Bye, messageId.ToString());
System\ServiceModel\Discovery\DiscoveryClient.cs (11)
571operationContext.IncomingMessageHeaders.MessageId.ToString()); 585operationContext.IncomingMessageHeaders.MessageId.ToString(), 586relatesTo.ToString(), 624operationContext.IncomingMessageHeaders.MessageId.ToString(), 653operationContext.IncomingMessageHeaders.MessageId.ToString()); 667operationContext.IncomingMessageHeaders.MessageId.ToString(), 668relatesTo.ToString(), 691operationContext.IncomingMessageHeaders.MessageId.ToString(), 720operationContext.IncomingMessageHeaders.MessageId.ToString()); 734operationContext.IncomingMessageHeaders.MessageId.ToString(), 735relatesTo.ToString(),
System\ServiceModel\Discovery\DiscoveryService.cs (1)
284TD.DiscoveryMessageWithNullReplyTo(eventTraceActivity, context.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\HelloOperationAsyncResult.cs (2)
85TD.DuplicateDiscoveryMessage(eventTraceActivity, ProtocolStrings.TracingStrings.Hello, messageId.ToString()); 98TD.DiscoveryMessageWithInvalidContent(eventTraceActivity, ProtocolStrings.TracingStrings.Hello, messageId.ToString());
System\ServiceModel\Discovery\ProbeDuplexAsyncResult.cs (1)
267OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\ProbeRequestResponseAsyncResult.cs (1)
111OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\ResolveDuplexAsyncResult.cs (1)
237OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\ResolveRequestResponseAsyncResult.cs (1)
109OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\UdpDiscoveryMessageFilter.cs (1)
63TD.DiscoveryMessageWithInvalidReplyTo(eventTraceActivity, message.Headers.MessageId.ToString());
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientAdhoc11.cs (3)
133OperationContext.Current.IncomingMessageHeaders.MessageId.ToString()); 161OperationContext.Current.IncomingMessageHeaders.MessageId.ToString()); 189OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\VersionApril2005\DiscoveryInnerClientApril2005.cs (1)
170OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientAdhocCD1.cs (3)
133OperationContext.Current.IncomingMessageHeaders.MessageId.ToString()); 161OperationContext.Current.IncomingMessageHeaders.MessageId.ToString()); 188OperationContext.Current.IncomingMessageHeaders.MessageId.ToString());
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
120this.uniqueID = this.originalMessage.Headers.MessageId.ToString();